summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-18 02:00:39 +0000
committerJeremy Allison <jra@samba.org>1998-04-18 02:00:39 +0000
commit6733e2b36e00ccbe8df363651ecc98ba42d53cee (patch)
tree8c9d81eb8feed60cf88491c12addaad81cbcd8e0 /source3/include
parentf9a96f060bdc8d045748b5f7e31d177e43e8810a (diff)
downloadsamba-6733e2b36e00ccbe8df363651ecc98ba42d53cee.tar.gz
samba-6733e2b36e00ccbe8df363651ecc98ba42d53cee.tar.bz2
samba-6733e2b36e00ccbe8df363651ecc98ba42d53cee.zip
includes.h: Added John's redhat fix for QSORT_CAST.
smbpass.c: Added lock depth code so calls to pw_file_lock() can be nested. Fixed codedump problems in add_smbpwd_entry(). smbpasswd.c: Removed all the code that manipulated the password file directly. Now *all* smbpasswd file changes are done through the interfaces defined in smbpass.c This should make the life of people adding alternate backend databases *much* easier. lib/rpc/server/srv_netlog.c: Removed debug messages used to debug machine password changing. Jeremy. (This used to be commit c9f61be08f3691a6421734d8b026a295d9cbd6ba)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8cc2711e0a..587d13bd40 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -226,6 +226,9 @@ Here come some platform specific sections
#include <netinet/tcp.h>
#include <netinet/ip.h>
#endif
+#ifndef QSORT_CAST
+#define QSORT_CAST (int (*)(const void *, const void *))
+#endif /* QSORT_CAST */
#define SIGNAL_CAST (__sighandler_t)
#define USE_GETCWD
#define USE_SETSID