summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-10 12:14:18 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-10 12:14:18 +0000
commitf41c3bb80f1e498a9d27f6e236b0ff3a742764c9 (patch)
treed8a1c8d014710a1024b68b23b1a298dad93683b6 /source/lib
parentf59826c0c9ba283c25faeec2cbdc7e19cca7aa04 (diff)
downloadsamba-f41c3bb80f1e498a9d27f6e236b0ff3a742764c9.tar.gz
samba-f41c3bb80f1e498a9d27f6e236b0ff3a742764c9.tar.xz
samba-f41c3bb80f1e498a9d27f6e236b0ff3a742764c9.zip
declare dbf in one spot
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/cmd_interp.c1
-rw-r--r--source/lib/readline.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source/lib/cmd_interp.c b/source/lib/cmd_interp.c
index fed3d65d627..62e361408b8 100644
--- a/source/lib/cmd_interp.c
+++ b/source/lib/cmd_interp.c
@@ -917,7 +917,6 @@ static uint32 cmd_set(CLIENT_INFO *info, int argc, char *argv[])
BOOL interactive = True;
char *cmd_str = NULL;
int opt;
- extern XFILE *dbf;
extern char *optarg;
static pstring servicesf = CONFIGFILE;
pstring term_code;
diff --git a/source/lib/readline.c b/source/lib/readline.c
index b03d37695e5..76bc34f7759 100644
--- a/source/lib/readline.c
+++ b/source/lib/readline.c
@@ -49,7 +49,6 @@ static char *smb_readline_replacement(char *prompt, void (*callback)(void),
int end))
{
fd_set fds;
- extern XFILE *dbf;
static pstring line;
struct timeval timeout;
int fd = fileno(stdin);