summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-01-28 18:54:36 +0000
committerStefan Metzmacher <metze@samba.org>2004-01-28 18:54:36 +0000
commita5ece462abeaa1326cb7fd7073dfc9fd0c7cb9f2 (patch)
treed43eef9b45450cb3e95ba118762152fb498326d8 /source4/lib
parent607d6948f2d8350c1700505b78f9e62ccf5d21cd (diff)
downloadsamba-a5ece462abeaa1326cb7fd7073dfc9fd0c7cb9f2.tar.gz
samba-a5ece462abeaa1326cb7fd7073dfc9fd0c7cb9f2.tar.bz2
samba-a5ece462abeaa1326cb7fd7073dfc9fd0c7cb9f2.zip
remove a lot of unused stuff from the header files
and exclude some files from Makefile.in metze (This used to be commit f77990cf2496f72d02566f09477349436be3dfcd)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/smbrun.c12
-rw-r--r--source4/lib/talloctort.c4
-rw-r--r--source4/lib/util_seaccess.c4
3 files changed, 17 insertions, 3 deletions
diff --git a/source4/lib/smbrun.c b/source4/lib/smbrun.c
index acb836ba7a..78f3d22ea0 100644
--- a/source4/lib/smbrun.c
+++ b/source4/lib/smbrun.c
@@ -20,13 +20,18 @@
#include "includes.h"
-/* need to move this from here!! need some sleep ... */
-struct current_user current_user;
+#if 1
+int smbrun(char *cmd, int *outfd)
+{
+ #warning smbrun() needs a rewrite: struct current_user is gone!
+ DEBUG(0,("smbrun() needs a rewrite: struct current_user is gone!\n"));
+ return -1;
+}
+#else
/****************************************************************************
This is a utility function of smbrun().
****************************************************************************/
-
static int setup_out_fd(void)
{
int fd;
@@ -169,3 +174,4 @@ int smbrun(char *cmd, int *outfd)
exit(82);
return 1;
}
+#endif
diff --git a/source4/lib/talloctort.c b/source4/lib/talloctort.c
index ad5de38581..9c10f4eed8 100644
--- a/source4/lib/talloctort.c
+++ b/source4/lib/talloctort.c
@@ -18,6 +18,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#error SAMBA4 clean up
+#error this file should be (re)moved
+#error and all unused stuff should go
+
#include "includes.h"
#define NCTX 10
diff --git a/source4/lib/util_seaccess.c b/source4/lib/util_seaccess.c
index eba8cab7fb..9d56a0d850 100644
--- a/source4/lib/util_seaccess.c
+++ b/source4/lib/util_seaccess.c
@@ -19,6 +19,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#error SAMBA4 clean up
+#error this file should be (re)moved
+#error and all unused stuff should go
+
#include "includes.h"
extern DOM_SID global_sid_Builtin;