summaryrefslogtreecommitdiff
path: root/source3/nmbd/asyncdns.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-13 19:24:06 +0000
committerJeremy Allison <jra@samba.org>1998-04-13 19:24:06 +0000
commitcac6a060af598bf94e6414b06e7365ec51ca360e (patch)
tree45249e753e580c2d2cb670db1d24ee41701c5285 /source3/nmbd/asyncdns.c
parent47ec2e09b7e1b29e41862916a27f189ba6552582 (diff)
downloadsamba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.gz
samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.bz2
samba-cac6a060af598bf94e6414b06e7365ec51ca360e.zip
Changes to allow Samba to be compiled with -Wstrict-prototypes
with gcc. (Not a big change although it looks like it :-). Jeremy. (This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
Diffstat (limited to 'source3/nmbd/asyncdns.c')
-rw-r--r--source3/nmbd/asyncdns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c
index 3fb16a08e9..6019819793 100644
--- a/source3/nmbd/asyncdns.c
+++ b/source3/nmbd/asyncdns.c
@@ -110,7 +110,7 @@ static void asyncdns_process(void)
WINS db that our parent is going to write.
**************************************************************************** */
-static int sig_term()
+static int sig_term(void)
{
_exit(0);
/* Keep compiler happy.. */
@@ -122,7 +122,7 @@ static int sig_term()
child so we don't get child async dns processes lying around, causing trouble.
****************************************************************************/
-void kill_async_dns_child()
+void kill_async_dns_child(void)
{
if(child_pid != 0 && child_pid != -1)
kill(child_pid, SIGTERM);
@@ -342,7 +342,7 @@ BOOL queue_dns_query(struct packet_struct *p,struct nmb_name *question,
/***************************************************************************
With sync dns there is no child to kill on SIGTERM.
****************************************************************************/
-void kill_async_dns_child()
+void kill_async_dns_child(void)
{
return;
}