summaryrefslogtreecommitdiff
path: root/source/include/safe_string.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-04-28 13:49:34 +0000
committerAndrew Tridgell <tridge@samba.org>2001-04-28 13:49:34 +0000
commitc7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf (patch)
tree6c98186b10538cfda860895bea1cb92f5fadff95 /source/include/safe_string.h
parent338d5ca8addb3079e0ab4a68338596d6e3b17ddb (diff)
downloadsamba-c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf.tar.gz
- added test for vasprintf
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more
Diffstat (limited to 'source/include/safe_string.h')
-rw-r--r--source/include/safe_string.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/include/safe_string.h b/source/include/safe_string.h
index 815939d1541..2c3d2eda01f 100644
--- a/source/include/safe_string.h
+++ b/source/include/safe_string.h
@@ -37,11 +37,6 @@
#endif /* sprintf */
#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
-#ifdef snprintf
-#undef snprintf
-#endif /* snprintf */
-#define snprintf __ERROR__XX__NEVER_USE_SNPRINTF___;
-
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)