From f1d70dad5381352b3cad04b5ee0dd0efe2627683 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 7 Feb 2013 14:44:18 -0800 Subject: Remove lots of inline keywords. --- nscd/connections.c | 2 +- nscd/nscd-client.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'nscd') diff --git a/nscd/connections.c b/nscd/connections.c index f6e2328637..feda2237f5 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -1859,7 +1859,7 @@ fd_ready (int fd) /* Check whether restarting should happen. */ -static inline int +static bool restart_p (time_t now) { return (paranoia && readylist == NULL && nready == nthreads diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 11964f607d..360852b2a6 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -362,8 +362,9 @@ extern struct mapped_database *__nscd_get_map_ref (request_type type, extern void __nscd_unmap (struct mapped_database *mapped); /* Drop reference of mapping. */ -static inline int __nscd_drop_map_ref (struct mapped_database *map, - int *gc_cycle) +static int +__attribute__ ((unused)) +__nscd_drop_map_ref (struct mapped_database *map, int *gc_cycle) { if (map != NO_MAPPING) { -- cgit v1.2.1