projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8149ffc
)
extern inline -> static inline
author
Lubomir Sedlacik
<salo@silcnet.org>
Mon, 12 Jul 2004 21:38:59 +0000
(21:38 +0000)
committer
Lubomir Sedlacik
<salo@silcnet.org>
Mon, 12 Jul 2004 21:38:59 +0000
(21:38 +0000)
Fixes build with SunPro C compiler.
Pointer from coffee, suggested by pekka.
apps/silcd/route.h
patch
|
blob
|
history
diff --git
a/apps/silcd/route.h
b/apps/silcd/route.h
index adc45d2c9842879d7625206478c1b25d75708161..0e78e739a4b66f91f57aaaa16a4a3bea2cdf462b 100644
(file)
--- a/
apps/silcd/route.h
+++ b/
apps/silcd/route.h
@@
-54,7
+54,7
@@
extern SilcServerRouteTable silc_route_cache[SILC_SERVER_ROUTE_SIZE];
/* Returns route cache hash table entry index. This is IPv4 specific.
`port' argument may be zero (0) if it doesn't exist. This has been
taken from Linux kernel's route cache code. */
-
extern
inline
+
static
inline
SilcUInt32 silc_server_route_hash(unsigned int addr,
SilcUInt16 port)
{