diff mbox series

[libnetfilter_queue,17/32] whitespace: remove trailing spaces from iftable.c

Message ID 20240315073347.22628-18-duncan_roe@optusnet.com.au
State New
Headers show
Series [libnetfilter_queue,01/32] src: Convert nfq_open() to use libmnl | expand

Commit Message

Duncan Roe March 15, 2024, 7:33 a.m. UTC
Done in a separate commit to ease review of real changes.

Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
 src/iftable.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/src/iftable.c b/src/iftable.c
index 22c3952..307acc1 100644
--- a/src/iftable.c
+++ b/src/iftable.c
@@ -121,7 +121,7 @@  static int iftable_add(struct nlmsghdr *n, void *arg)
  * \param n:	netlink message header of a RTM_DELLINK nlmsg
  * \param arg:	not used
  *
- * Delete an entry from the interface table.  
+ * Delete an entry from the interface table.
  * Returns -1 on error, 0 if no matching entry was found or 1 on success.
  */
 static int iftable_del(struct nlmsghdr *n, void *arg)
@@ -158,9 +158,9 @@  static int iftable_del(struct nlmsghdr *n, void *arg)
  * \param h pointer to nlif_handle created by nlif_open()
  * \param index ifindex to be resolved
  * \param name interface name, pass a buffer of IFNAMSIZ size
- * \return -1 on error, 1 on success 
+ * \return -1 on error, 1 on success
  */
-int nlif_index2name(struct nlif_handle *h, 
+int nlif_index2name(struct nlif_handle *h,
 		    unsigned int index,
 		    char *name)
 {
@@ -193,7 +193,7 @@  int nlif_index2name(struct nlif_handle *h,
  * \param h pointer to nlif_handle created by nlif_open()
  * \param index ifindex to be resolved
  * \param flags pointer to variable used to store the interface flags
- * \return -1 on error, 1 on success 
+ * \return -1 on error, 1 on success
  */
 int nlif_get_ifflags(const struct nlif_handle *h,
 		     unsigned int index,
@@ -324,7 +324,7 @@  static int nlif_catch_multi(struct nlif_handle *h)
 	return -1;
 }
 
-/** 
+/**
  * nlif_query - request a dump of interfaces available in the system
  * \param h: pointer to a valid nlif_handler
  */