svn commit: samba r5861 - in branches/SAMBA_3_0/source/tdb: .

vlendec at samba.org vlendec at samba.org
Thu Mar 17 18:25:16 GMT 2005


Author: vlendec
Date: 2005-03-17 18:25:15 +0000 (Thu, 17 Mar 2005)
New Revision: 5861

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5861

Log:
Apply some const
Modified:
   branches/SAMBA_3_0/source/tdb/tdbtool.c


Changeset:
Modified: branches/SAMBA_3_0/source/tdb/tdbtool.c
===================================================================
--- branches/SAMBA_3_0/source/tdb/tdbtool.c	2005-03-17 18:24:38 UTC (rev 5860)
+++ branches/SAMBA_3_0/source/tdb/tdbtool.c	2005-03-17 18:25:15 UTC (rev 5861)
@@ -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