From 53ed39de4aee1e0def1423b0c53e903d1be0741c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 18:41:13 +0200 Subject: s3: Make check_reload() static --- source3/include/proto.h | 1 - source3/smbd/process.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 63a1095b04..1ea3a01379 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5618,7 +5618,6 @@ void construct_reply_common_req(struct smb_request *req, char *outbuf); size_t req_wct_ofs(struct smb_request *req); void chain_reply(struct smb_request *req); bool req_is_in_chain(struct smb_request *req); -void check_reload(time_t t); void smbd_process(void); /* The following definitions come from smbd/quotas.c */ diff --git a/source3/smbd/process.c b/source3/smbd/process.c index d5f4340d4d..2e50ec7e24 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2198,7 +2198,7 @@ void chain_reply(struct smb_request *req) Check if services need reloading. ****************************************************************************/ -void check_reload(time_t t) +static void check_reload(time_t t) { time_t printcap_cache_time = (time_t)lp_printcap_cache_time(); -- cgit