Remove trailing whitespace
Go through source files and remove all trailing whitespace
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff --git a/include/ip6tables.h b/include/ip6tables.h
index 8360617..1050593 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -65,7 +65,7 @@
struct ip6tables_target
{
struct ip6tables_target *next;
-
+
ip6t_chainlabel name;
const char *version;
@@ -87,7 +87,7 @@
int (*parse)(int c, char **argv, int invert, unsigned int *flags,
const struct ip6t_entry *entry,
struct ip6t_entry_target **target);
-
+
/* Final check; exit if not ok. */
void (*final_check)(unsigned int flags);
diff --git a/include/iptables.h b/include/iptables.h
index 25f36ae..dd844c1 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -170,7 +170,7 @@
extern int delete_chain(const ipt_chainlabel chain, int verbose,
iptc_handle_t *handle);
-extern int flush_entries(const ipt_chainlabel chain, int verbose,
+extern int flush_entries(const ipt_chainlabel chain, int verbose,
iptc_handle_t *handle);
extern int for_each_chain(int (*fn)(const ipt_chainlabel, int, iptc_handle_t *),
int verbose, int builtinstoo, iptc_handle_t *handle);
diff --git a/include/iptables_common.h b/include/iptables_common.h
index ed5b9c0..82b0feb 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -10,16 +10,16 @@
extern void exit_printhelp(void) __attribute__((noreturn));
extern void exit_tryhelp(int) __attribute__((noreturn));
int check_inverse(const char option[], int *invert, int *optind, int argc);
-extern int string_to_number(const char *,
- unsigned int,
+extern int string_to_number(const char *,
+ unsigned int,
unsigned int,
unsigned int *);
-extern int string_to_number_l(const char *,
- unsigned long int,
+extern int string_to_number_l(const char *,
+ unsigned long int,
unsigned long int,
unsigned long *);
-extern int string_to_number_ll(const char *,
- unsigned long long int,
+extern int string_to_number_ll(const char *,
+ unsigned long long int,
unsigned long long int,
unsigned long long *);
extern int iptables_insmod(const char *modname, const char *modprobe);
diff --git a/include/libnetlink.h b/include/libnetlink.h
index 9de3a0b..49e248e 100644
--- a/include/libnetlink.h
+++ b/include/libnetlink.h
@@ -23,7 +23,7 @@
extern int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type);
extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len);
-typedef int (*rtnl_filter_t)(const struct sockaddr_nl *,
+typedef int (*rtnl_filter_t)(const struct sockaddr_nl *,
struct nlmsghdr *n, void *);
extern int rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter,
void *arg1,
@@ -48,7 +48,7 @@
#define parse_rtattr_nested(tb, max, rta) \
(parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta)))
-extern int rtnl_listen(struct rtnl_handle *, rtnl_filter_t handler,
+extern int rtnl_listen(struct rtnl_handle *, rtnl_filter_t handler,
void *jarg);
extern int rtnl_from_file(FILE *, rtnl_filter_t handler,
void *jarg);
diff --git a/include/ll_map.h b/include/ll_map.h
index d085813..c4d5c6d 100644
--- a/include/ll_map.h
+++ b/include/ll_map.h
@@ -1,7 +1,7 @@
#ifndef __LL_MAP_H__
#define __LL_MAP_H__ 1
-extern int ll_remember_index(const struct sockaddr_nl *who,
+extern int ll_remember_index(const struct sockaddr_nl *who,
struct nlmsghdr *n, void *arg);
extern int ll_init_map(struct rtnl_handle *rth);
extern unsigned ll_name_to_index(const char *name);
diff --git a/include/utils.h b/include/utils.h
index 0f1d1f6..a4133c9 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -55,7 +55,7 @@
#define AF_DECnet 12
#endif
-struct dn_naddr
+struct dn_naddr
{
unsigned short a_len;
unsigned char a_addr[DN_MAXADDL];
@@ -89,9 +89,9 @@
extern char* hexstring_n2a(const __u8 *str, int len, char *buf, int blen);
extern __u8* hexstring_a2n(const char *str, __u8 *buf, int blen);
-extern const char *format_host(int af, int len, const void *addr,
+extern const char *format_host(int af, int len, const void *addr,
char *buf, int buflen);
-extern const char *rt_addr_n2a(int af, int len, const void *addr,
+extern const char *rt_addr_n2a(int af, int len, const void *addr,
char *buf, int buflen);
void missarg(const char *) __attribute__((noreturn));