From d89b40e9b175b194cc7bdbc0277083efff89699c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 17 Mar 2005 18:25:15 +0000 Subject: [PATCH] r5861: Apply some const --- source/tdb/tdbtool.c | 4 ++-- 1 file 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; -- 2.47.3