summaryrefslogtreecommitdiff
path: root/source4/lib/smbrun.c
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/smbrun.c
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/smbrun.c')
-rw-r--r--source4/lib/smbrun.c12
1 files changed, 9 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