From 3daefed54e221b397f1eff43d2a83a61c4500fb1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 2 Jul 1998 18:49:08 +0000 Subject: chgpasswd.c: Fix from Peter Debus for Digital UNIX password change core dump bug. nmbd_subnetdb.c: Make namelist_entry_compare() static. nttrans.c: More NT SMB stuff. Jeremy. (This used to be commit 1925a29c6b355b8358ee99e5b876b6376aa7d628) --- source3/nmbd/nmbd_subnetdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nmbd/nmbd_subnetdb.c') diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c index 36a3ee9a27..20d924910d 100644 --- a/source3/nmbd/nmbd_subnetdb.c +++ b/source3/nmbd/nmbd_subnetdb.c @@ -79,7 +79,7 @@ static void add_subnet(struct subnet_record *subrec) Note that we cannot use memcmp here as we have no control over how the struct nmb_name structures are packed in memory. JRA. * ************************************************************************** ** */ -int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ) +static int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ) { struct name_record *NR = (struct name_record *)Node; struct nmb_name *nmbname = (struct nmb_name *)Item; @@ -103,7 +103,7 @@ int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ) * This will go away when we move to a "real" database back-end. * ************************************************************************** ** */ -int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ) +static int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ) { struct name_record *NR = (struct name_record *)Node; -- cgit