Apply some const
authorvlendec <vlendec@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 17 Mar 2005 18:25:15 +0000 (18:25 +0000)
committervlendec <vlendec@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 17 Mar 2005 18:25:15 +0000 (18:25 +0000)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@5861 0c0555d6-39d7-0310-84fc-f1cc0bd64818

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;