diff options
author | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-01-29 21:32:57 -0500 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-01-31 08:11:54 -0500 |
commit | 350312d5db9b0a968bbbbecb37bd600a2da389d0 (patch) | |
tree | e050ca81be5dd8c93b5e542b16e1378ad8e985c3 | |
parent | bdde0a2186173cf947c09f2e533dcf9456345d55 (diff) |
Inline functions should be declared static
-rw-r--r-- | server/dispatch.c | 2 | ||||
-rw-r--r-- | server/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index 9f8ce40..eaacc2c 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -25,7 +25,7 @@ static const char rcsid_dispatch_c[] = enum { NACKTAB_HASHSIZE = 1023 }; -inline unsigned int +inline static unsigned int nacktab_hashval(struct sockaddr_in sa, ZUnique_Id_t uid) { return (sa.sin_addr.s_addr ^ sa.sin_port ^ diff --git a/server/server.c b/server/server.c index de1b051..b393f64 100644 --- a/server/server.c +++ b/server/server.c @@ -24,7 +24,7 @@ static const char rcsid_server_c[] = "$Id$"; enum { SRV_NACKTAB_HASHSIZE = 1023 }; -inline unsigned int +inline static unsigned int srv_nacktab_hashval(int which, ZUnique_Id_t uid) { return (which ^ uid.zuid_addr.s_addr ^ uid.tv.tv_sec ^ uid.tv.tv_usec) |