diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-04-10 09:14:58 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:18:28 +0200 |
commit | 3e9e2c9fb66895df42159b98a3743e25399760df (patch) | |
tree | 5570f07b6e4c28d6bade800df0c49b9187dfd258 /zebra/kernel_socket.c | |
parent | 7e92322cfcc6c062acae3b550f90d36fe40763f1 (diff) | |
download | quagga-3e9e2c9fb66895df42159b98a3743e25399760df.tar.bz2 quagga-3e9e2c9fb66895df42159b98a3743e25399760df.tar.xz |
zebra: static int inline -> static inline int
The BSD socket kernel interface had some weird ordering of function
attribute keywords. ("static int inline foobar()")
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r-- | zebra/kernel_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 5eb92d92..6a9892e2 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -129,7 +129,7 @@ extern struct zebra_t zebrad; * 2. So the compiler doesn't complain when DEST is NULL, which is only true * when we are skipping the copy and incrementing to the next SA */ -static void inline +static inline void rta_copy (union sockunion *dest, caddr_t src) { int len; #ifdef HAVE_STRUCT_SOCKADDR_SA_LEN @@ -279,7 +279,7 @@ int routing_sock = -1; /* #define DEBUG */ /* Supported address family check. */ -static int inline +static inline int af_check (int family) { if (family == AF_INET) |