summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-24 01:32:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commit694ac65faa13cc016f54330b656e64225aa40aab (patch)
tree854ad9d4f278ceb67916d68b2843245a1d231097 /source4/lib/cmdline
parentaf057bdf84d91fe387e7920a6b753142e82d7682 (diff)
downloadsamba-694ac65faa13cc016f54330b656e64225aa40aab.tar.gz
samba-694ac65faa13cc016f54330b656e64225aa40aab.tar.bz2
samba-694ac65faa13cc016f54330b656e64225aa40aab.zip
r2003: got rid of next_token_nr(), which involved some horrible globals
and nasy pointer tricks. this involved fixing some of the internals of smbclient (This used to be commit 126fec6169f9412932c82e7675840476132bce87)
Diffstat (limited to 'source4/lib/cmdline')
-rw-r--r--source4/lib/cmdline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/readline.c b/source4/lib/cmdline/readline.c
index c5da88b3e0..97201d00bb 100644
--- a/source4/lib/cmdline/readline.c
+++ b/source4/lib/cmdline/readline.c
@@ -140,7 +140,7 @@ void smb_readline_ca_char(char c)
/****************************************************************************
history
****************************************************************************/
-int cmd_history(void)
+int cmd_history(const char **cmd_ptr)
{
#if defined(HAVE_LIBREADLINE)
HIST_ENTRY **hlist;