summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
committerJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
commitfc62d6bf368c950e1e51bc42771cce8b299df42c (patch)
treedd94abd7d29279fe57050b702203538eaf345916 /source3/smbd
parent676cac1e42ecbc30fe6ded64751163c1c33466d1 (diff)
downloadsamba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.gz
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.xz
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.zip
Small tidyups for gcc in 'preen' mode....
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/quotas.c1
-rw-r--r--source3/smbd/ssl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index b7a538e189..716c2357c6 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -661,6 +661,7 @@ BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize)
#else
/* this keeps fussy compilers happy */
+ void quotas_dummy(void);
void quotas_dummy(void) {}
#endif /* QUOTAS */
diff --git a/source3/smbd/ssl.c b/source3/smbd/ssl.c
index 27bb8f3a52..1c953272c3 100644
--- a/source3/smbd/ssl.c
+++ b/source3/smbd/ssl.c
@@ -261,5 +261,6 @@ char *reqHosts, *resignHosts;
}
#else /* WITH_SSL */
+ void ssl_dummy(void);
void ssl_dummy(void) {;} /* So some compilers don't complain. */
#endif /* WITH_SSL */