summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-03-17 18:25:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:05 -0500
commit8a427cb62317331e4526d65eebd1356872e3f41c (patch)
tree319f34a1338107b239dffcd2a03ac4294575830d /source3/tdb
parent99509cb0b502c34815dfe9ad33c0ba9c4c524713 (diff)
downloadsamba-8a427cb62317331e4526d65eebd1356872e3f41c.tar.gz
samba-8a427cb62317331e4526d65eebd1356872e3f41c.tar.bz2
samba-8a427cb62317331e4526d65eebd1356872e3f41c.zip
r5861: Apply some const
(This used to be commit d89b40e9b175b194cc7bdbc0277083efff89699c)
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/tdbtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c
index 92009dcef4..2de3df961c 100644
--- a/source3/tdb/tdbtool.c
+++ b/source3/tdb/tdbtool.c
@@ -131,7 +131,7 @@ static void help(void)
"\n");
}
-static void terror(char *why)
+static void terror(const char *why)
{
printf("%s\n", why);
}
@@ -407,7 +407,7 @@ static void info_tdb(void)
printf("%d records totalling %d bytes\n", count, total_bytes);
}
-static char *tdb_getline(char *prompt)
+static char *tdb_getline(const char *prompt)
{
static char line[1024];
char *p;