diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-06-10 04:38:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-06-10 04:38:24 +0000 |
commit | 7e3b4a1c0df1434eb3d02f93c736ce065f9898d8 (patch) | |
tree | 025b06cd0fe6aa7e228532c53318fc7fb8c0a9e0 /source3/smbd | |
parent | b7ca915de8e8b6d9592ff52699ff271d99eaebc0 (diff) | |
download | samba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.tar.gz samba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.tar.bz2 samba-7e3b4a1c0df1434eb3d02f93c736ce065f9898d8.zip |
got rid of a lot of redundent header files as we now globally generate
prototypes automatically using "make proto". This is much less prone
to error than the old method of manually adding prototypes
(This used to be commit b551dc98f7cc194a5fc2e67a4ebae7fd67a01bbc)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/chgpasswd.c | 1 | ||||
-rw-r--r-- | source3/smbd/dir.c | 1 | ||||
-rw-r--r-- | source3/smbd/ipc.c | 2 | ||||
-rw-r--r-- | source3/smbd/mangle.c | 1 | ||||
-rw-r--r-- | source3/smbd/message.c | 1 | ||||
-rw-r--r-- | source3/smbd/password.c | 1 | ||||
-rw-r--r-- | source3/smbd/predict.c | 1 | ||||
-rw-r--r-- | source3/smbd/quotas.c | 12 | ||||
-rw-r--r-- | source3/smbd/reply.c | 1 | ||||
-rw-r--r-- | source3/smbd/server.c | 3 | ||||
-rw-r--r-- | source3/smbd/trans2.c | 1 | ||||
-rw-r--r-- | source3/smbd/uid.c | 1 |
12 files changed, 7 insertions, 19 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index dc0514c1ed..809ac4d224 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -27,7 +27,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 32f2eb5e7d..55a5983468 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; extern connection_struct Connections[]; diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 916b0fb88e..594e067ddd 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -24,8 +24,6 @@ */ #include "includes.h" -#include "loadparm.h" -#include "pcap.h" #ifdef CHECK_TYPES #undef CHECK_TYPES diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c index a43e7f6245..cf1ece558c 100644 --- a/source3/smbd/mangle.c +++ b/source3/smbd/mangle.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; extern int case_default; diff --git a/source3/smbd/message.c b/source3/smbd/message.c index 6a96b4c7a9..b26a6605ed 100644 --- a/source3/smbd/message.c +++ b/source3/smbd/message.c @@ -25,7 +25,6 @@ #include "includes.h" -#include "loadparm.h" /* look in server.c for some explanation of these variables */ extern int DEBUGLEVEL; diff --git a/source3/smbd/password.c b/source3/smbd/password.c index c2fe8a4f0d..ae548b8266 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; extern int Protocol; diff --git a/source3/smbd/predict.c b/source3/smbd/predict.c index 8df381b367..7f1692931c 100644 --- a/source3/smbd/predict.c +++ b/source3/smbd/predict.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c index 4216aa1199..6ba20faa6c 100644 --- a/source3/smbd/quotas.c +++ b/source3/smbd/quotas.c @@ -273,7 +273,7 @@ BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize) return(False) ; devno = sbuf.st_dev ; -DEBUG(5,("disk_quotas: looking for path \"%s\" devno=%o\n", path,devno)); + DEBUG(5,("disk_quotas: looking for path \"%s\" devno=%o\n", path,devno)); if ( devno != devno_cached ) { devno_cached = devno ; #if defined(SUNOS5) @@ -284,7 +284,8 @@ DEBUG(5,("disk_quotas: looking for path \"%s\" devno=%o\n", path,devno)); while (getmntent(fd, &mnt) == 0) { if ( stat(mnt.mnt_mountp,&sbuf) == -1 ) continue ; -DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", mnt.mnt_mountp,sbuf.st_dev)); + DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", + mnt.mnt_mountp,sbuf.st_dev)); if (sbuf.st_dev == devno) { found = True ; break ; @@ -302,7 +303,8 @@ DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", mnt.mnt_mountp,sbuf.st_dev)); while ((mnt = getmntent(fd)) != NULL) { if ( stat(mnt->mnt_dir,&sbuf) == -1 ) continue ; -DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", mnt->mnt_dir,sbuf.st_dev)); + DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", + mnt->mnt_dir,sbuf.st_dev)); if (sbuf.st_dev == devno) { found = True ; break ; @@ -324,7 +326,7 @@ DEBUG(5,("disk_quotas: testing \"%s\" devno=%o\n", mnt->mnt_dir,sbuf.st_dev)); seteuid(0); #if defined(SUNOS5) -DEBUG(5,("disk_quotas: looking for quotas file \"%s\"\n", name)); + DEBUG(5,("disk_quotas: looking for quotas file \"%s\"\n", name)); if((file=open(name, O_RDONLY))<0) { setuid(user_id); /* Restore the original UID status */ seteuid(euser_id); @@ -336,7 +338,7 @@ DEBUG(5,("disk_quotas: looking for quotas file \"%s\"\n", name)); ret = ioctl(file, Q_QUOTACTL, &command); close(file); #else -DEBUG(5,("disk_quotas: trying quotactl on device \"%s\"\n", name)); + DEBUG(5,("disk_quotas: trying quotactl on device \"%s\"\n", name)); ret = quotactl(Q_GETQUOTA, name, euser_id, &D); #endif diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 4472e120aa..43703982ec 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -25,7 +25,6 @@ #include "includes.h" -#include "loadparm.h" #include "trans2.h" /* look in server.c for some explanation of these variables */ diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 25464d861c..ecc8e4ce9c 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -20,10 +20,7 @@ */ #include "includes.h" -#include "loadparm.h" -#include "pcap.h" #include "trans2.h" -#include "reply.h" pstring servicesf = CONFIGFILE; extern pstring debugf; diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 60e9ae2b29..0b113a2ed0 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -22,7 +22,6 @@ */ #include "includes.h" -#include "loadparm.h" #include "trans2.h" extern int DEBUGLEVEL; diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 625303350a..555cd457e7 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "loadparm.h" extern int DEBUGLEVEL; |