From: Lubomir Sedlacik Date: Mon, 12 Jul 2004 21:38:59 +0000 (+0000) Subject: extern inline -> static inline X-Git-Tag: silc.server.0.9.19~65 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=ef4a6ae7c51ddb646a1016bb4e4b004c52b12c28;p=silc.git extern inline -> static inline Fixes build with SunPro C compiler. Pointer from coffee, suggested by pekka. --- diff --git a/apps/silcd/route.h b/apps/silcd/route.h index adc45d2c..0e78e739 100644 --- 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) {