]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5861: Apply some const
authorVolker Lendecke <vlendec@samba.org>
Thu, 17 Mar 2005 18:25:15 +0000 (18:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:05 +0000 (10:56 -0500)
source/tdb/tdbtool.c

index 92009dcef48cbd435dfa2e28d4c629ad946486b8..2de3df961cf75d2a82a0a5ed7d5b1b375fa7c203 100644 (file)
@@ -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;