svn commit: samba r13401 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Thu Feb 9 00:50:50 GMT 2006


Author: tridge
Date: 2006-02-09 00:50:48 +0000 (Thu, 09 Feb 2006)
New Revision: 13401

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

Log:

remove the rename of the snprintf functions that simo accidentially
included in his last commit

Modified:
   branches/SAMBA_4_0/source/lib/replace/snprintf.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/snprintf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/snprintf.c	2006-02-09 00:49:03 UTC (rev 13400)
+++ branches/SAMBA_4_0/source/lib/replace/snprintf.c	2006-02-09 00:50:48 UTC (rev 13401)
@@ -1187,11 +1187,10 @@
 	return max;
 }
 
- int smb_vsnprintf (char *str, size_t count, const char *fmt, va_list args)
+ int vsnprintf (char *str, size_t count, const char *fmt, va_list args)
 {
 	return dopr(str, count, fmt, args);
 }
-#define vsnprintf smb_vsnprintf
 #endif
 
 /* yes this really must be a ||. Don't muck with this (tridge)
@@ -1201,7 +1200,7 @@
  * that doesn't work properly according to the autoconf test.
  */
 #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
-int smb_snprintf(char *str,size_t count,const char *fmt,...)
+ int snprintf(char *str,size_t count,const char *fmt,...)
 {
 	size_t ret;
 	va_list ap;
@@ -1211,7 +1210,6 @@
 	va_end(ap);
 	return ret;
 }
-#define snprintf smb_snprintf
 #endif
 
 #endif 



More information about the samba-cvs mailing list