diff options
author | 2009-07-14 17:58:14 +0000 | |
---|---|---|
committer | 2009-07-14 17:58:14 +0000 | |
commit | 38bde8c5984a5837ec80f7908fb5ac1899ca901c (patch) | |
tree | 31d23bca1dd8ca6a6ccd3bcd0b74f25184f192b1 | |
parent | unveil that time(1) accepts optional arguments for the utility operand, (diff) | |
download | wireguard-openbsd-38bde8c5984a5837ec80f7908fb5ac1899ca901c.tar.xz wireguard-openbsd-38bde8c5984a5837ec80f7908fb5ac1899ca901c.zip |
use static for inline so compilers with c99 inline semantics
generate the same linkage as those with c89 semantics.
ok sthen@
-rw-r--r-- | usr.bin/systat/pftop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/pftop.c b/usr.bin/systat/pftop.c index 6da23a5e39c..3781322298c 100644 --- a/usr.bin/systat/pftop.c +++ b/usr.bin/systat/pftop.c @@ -1,4 +1,4 @@ -/* $Id: pftop.c,v 1.12 2009/06/10 03:42:58 canacar Exp $ */ +/* $Id: pftop.c,v 1.13 2009/07/14 17:58:14 jsg Exp $ */ /* * Copyright (c) 2001, 2007 Can Erkin Acar * Copyright (c) 2001 Daniel Hartmeier @@ -449,7 +449,7 @@ compare_addr(int af, const struct pf_addr *a, const struct pf_addr *b) return 0; } -__inline int +static __inline int sort_addr_callback(const struct pfsync_state *s1, const struct pfsync_state *s2, int dir) { @@ -496,7 +496,7 @@ sort_addr_callback(const struct pfsync_state *s1, return -sortdir; } -__inline int +static __inline int sort_port_callback(const struct pfsync_state *s1, const struct pfsync_state *s2, int dir) { |