summaryrefslogtreecommitdiffstats
path: root/source/libsmb
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/libsmb
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/libsmb')
-rw-r--r--source/libsmb/namequery.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c
index 89275220902..4de10f10ce9 100644
--- a/source/libsmb/namequery.c
+++ b/source/libsmb/namequery.c
@@ -89,7 +89,7 @@ static void _interpret_node_status(char *p, char *master,char *rname)
**************************************************************************/
BOOL name_status(int fd,char *name,int name_type,BOOL recurse,
struct in_addr to_ip,char *master,char *rname,
- void (*fn)())
+ void (*fn)(struct packet_struct *))
{
BOOL found=False;
int retries = 2;
@@ -194,9 +194,8 @@ BOOL name_status(int fd,char *name,int name_type,BOOL recurse,
returns an array of IP addresses or NULL if none
*count will be set to the number of addresses returned
****************************************************************************/
-struct in_addr *name_query(int fd,char *name,int name_type,
- BOOL bcast,BOOL recurse,
- struct in_addr to_ip, int *count, void (*fn)())
+struct in_addr *name_query(int fd,char *name,int name_type, BOOL bcast,BOOL recurse,
+ struct in_addr to_ip, int *count, void (*fn)(struct packet_struct *))
{
BOOL found=False;
int i, retries = 3;