extern inline -> static inline
authorLubomir Sedlacik <salo@silcnet.org>
Mon, 12 Jul 2004 21:38:59 +0000 (21:38 +0000)
committerLubomir 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

index adc45d2c9842879d7625206478c1b25d75708161..0e78e739a4b66f91f57aaaa16a4a3bea2cdf462b 100644 (file)
@@ -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)
 {