svn commit: samba r5860 - in trunk/source/tdb: .
vlendec at samba.org
vlendec at samba.org
Thu Mar 17 18:24:39 GMT 2005
Author: vlendec
Date: 2005-03-17 18:24:38 +0000 (Thu, 17 Mar 2005)
New Revision: 5860
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5860
Log:
Apply some const
Modified:
trunk/source/tdb/tdbtool.c
Changeset:
Modified: trunk/source/tdb/tdbtool.c
===================================================================
--- trunk/source/tdb/tdbtool.c 2005-03-17 18:21:39 UTC (rev 5859)
+++ trunk/source/tdb/tdbtool.c 2005-03-17 18:24:38 UTC (rev 5860)
@@ -131,7 +131,7 @@
"\n");
}
-static void terror(char *why)
+static void terror(const char *why)
{
printf("%s\n", why);
}
@@ -407,7 +407,7 @@
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;
More information about the samba-cvs
mailing list