summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_mynames.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_mynames.c
parent47ec2e09b7e1b29e41862916a27f189ba6552582 (diff)
downloadsamba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.gz
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_mynames.c')
-rw-r--r--source3/nmbd/nmbd_mynames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_mynames.c b/source3/nmbd/nmbd_mynames.c
index 30804ab807b..cf21fafd876 100644
--- a/source3/nmbd/nmbd_mynames.c
+++ b/source3/nmbd/nmbd_mynames.c
@@ -49,7 +49,7 @@ static void my_name_register_failed(struct subnet_record *subrec,
Also add the magic Samba names.
**************************************************************************/
-BOOL register_my_workgroup_and_names()
+BOOL register_my_workgroup_and_names(void)
{
struct subnet_record *subrec;
struct work_record *work;
@@ -143,7 +143,7 @@ Exiting.\n", myworkgroup, subrec->subnet_name));
Remove all the names we registered.
**************************************************************************/
-void release_my_names()
+void release_my_names(void)
{
struct subnet_record *subrec;