summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
committerJeremy Allison <jra@samba.org>1998-07-02 18:49:08 +0000
commit3daefed54e221b397f1eff43d2a83a61c4500fb1 (patch)
tree7380449ffe913828179f16bbe6deb328e9728052 /source3/nmbd
parent139a34157eba50f70c86f2dd07fb384a7cbaf9cc (diff)
downloadsamba-3daefed54e221b397f1eff43d2a83a61c4500fb1.tar.gz
samba-3daefed54e221b397f1eff43d2a83a61c4500fb1.tar.bz2
samba-3daefed54e221b397f1eff43d2a83a61c4500fb1.zip
chgpasswd.c: Fix from Peter Debus <pdebus@turing.une.edu.au> 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)
Diffstat (limited to 'source3/nmbd')
-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 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;