summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_subnetdb.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/nmbd_subnetdb.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/nmbd_subnetdb.c')
-rw-r--r--source3/nmbd/nmbd_subnetdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c
index e10ddc2c6a..d8e8dd4ab9 100644
--- a/source3/nmbd/nmbd_subnetdb.c
+++ b/source3/nmbd/nmbd_subnetdb.c
@@ -164,7 +164,7 @@ for port %d. Error was %s\n", inet_ntoa(myip), DGRAM_PORT, strerror(errno)));
Create subnet entries.
**************************************************************************/
-BOOL create_subnets()
+BOOL create_subnets(void)
{
int num_interfaces = iface_count();
int i;
@@ -265,7 +265,7 @@ BOOL create_subnets()
Function to tell us if we can use the unicast subnet.
******************************************************************/
-BOOL we_are_a_wins_client()
+BOOL we_are_a_wins_client(void)
{
static int cache_we_are_a_wins_client = -1;