summaryrefslogtreecommitdiffstats
path: root/source/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
commitcd2613c57261456485fe4eeecfda209ada70de8e (patch)
tree3cdaa41b5ce9c53b4c108ac11febcb59999d9cb5 /source/nmbd/asyncdns.c
parent883be3907778ee160872b0a0a023fc34e636774f (diff)
downloadsamba-cd2613c57261456485fe4eeecfda209ada70de8e.tar.gz
samba-cd2613c57261456485fe4eeecfda209ada70de8e.tar.xz
samba-cd2613c57261456485fe4eeecfda209ada70de8e.zip
Changes to allow Samba to be compiled with -Wstrict-prototypes
with gcc. (Not a big change although it looks like it :-). Jeremy.
Diffstat (limited to 'source/nmbd/asyncdns.c')
-rw-r--r--source/nmbd/asyncdns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nmbd/asyncdns.c b/source/nmbd/asyncdns.c
index 3fb16a08e94..60198197930 100644
--- a/source/nmbd/asyncdns.c
+++ b/source/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;
}