summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-02 07:55:33 +0000
committermike <mike@FreeBSD.org>2002-10-02 07:55:33 +0000
commit73d23540ae1d0a77fa8be27264e676840fd5b15c (patch)
tree0409ec2d9645056388a20fd57f7545e1078d6bd4
parent097d50c720398a489d491f2afd0e1d2e90541a68 (diff)
downloadFreeBSD-src-73d23540ae1d0a77fa8be27264e676840fd5b15c.zip
FreeBSD-src-73d23540ae1d0a77fa8be27264e676840fd5b15c.tar.gz
style(9):
o Align members of struct if_nameindex. o Align and sort function prototypes.
-rw-r--r--sys/net/if.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index f13648d..d34b6e9 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -335,14 +335,14 @@ MALLOC_DECLARE(M_IFMADDR);
#ifndef _KERNEL
struct if_nameindex {
unsigned int if_index; /* 1, 2, ... */
- char *if_name; /* null terminated name: "le0", ... */
+ char *if_name; /* null terminated name: "le0", ... */
};
__BEGIN_DECLS
-unsigned int if_nametoindex(const char *);
-char *if_indextoname(unsigned int, char *);
-struct if_nameindex *if_nameindex(void);
-void if_freenameindex(struct if_nameindex *);
+void if_freenameindex(struct if_nameindex *);
+char *if_indextoname(unsigned int, char *);
+struct if_nameindex *if_nameindex(void);
+unsigned int if_nametoindex(const char *);
__END_DECLS
#endif
OpenPOWER on IntegriCloud