summaryrefslogtreecommitdiffstats
path: root/source/tdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-03-17 18:25:15 +0000
committerVolker Lendecke <vlendec@samba.org>2005-03-17 18:25:15 +0000
commit2533a001c64a8c5ed067ed0f31728e13decb0175 (patch)
tree4bf46460c0c05bc02d5c43248a01d53458284439 /source/tdb
parente504e90e1c3920a1ac502d3aee6f46c5fd4d4cc2 (diff)
downloadsamba-2533a001c64a8c5ed067ed0f31728e13decb0175.tar.gz
samba-2533a001c64a8c5ed067ed0f31728e13decb0175.tar.xz
samba-2533a001c64a8c5ed067ed0f31728e13decb0175.zip
r5861: Apply some const
Diffstat (limited to 'source/tdb')
-rw-r--r--source/tdb/tdbtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tdb/tdbtool.c b/source/tdb/tdbtool.c
index 92009dcef48..2de3df961cf 100644
--- a/source/tdb/tdbtool.c
+++ b/source/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;