summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 18:41:13 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 23:37:46 +0200
commit53ed39de4aee1e0def1423b0c53e903d1be0741c (patch)
treee400201d0c69b93c98073644b34c704db31afdae
parentf0896759cef9de8ae4a4b5eb2d26586fb10bbf39 (diff)
downloadsamba-53ed39de4aee1e0def1423b0c53e903d1be0741c.tar.gz
samba-53ed39de4aee1e0def1423b0c53e903d1be0741c.tar.bz2
samba-53ed39de4aee1e0def1423b0c53e903d1be0741c.zip
s3: Make check_reload() static
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/smbd/process.c2
2 files changed, 1 insertions, 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();