]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/compat.h
Remove obsolete compatibility function declarations for snprintf() and vsnprintf()
[netatalk.git] / include / atalk / compat.h
index a2d318f43a4f81942210a3a922941224f01e043b..083886ccef884042b8748dfab1519e8ec994d5cd 100644 (file)
 extern char *getusershell (void);
 #endif
 
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
-# include <stdio.h>
-# include <stdarg.h>
-# ifndef HAVE_SNPRINTF
-int snprintf (char *str,size_t count,const char *fmt,...);
-# endif
-
-# ifndef HAVE_VSNPRINTF
-int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
-# endif
-#endif
-
 /* OpenBSD */
 #if defined(__OpenBSD__) && !defined(ENOTSUP)
 #define ENOTSUP EOPNOTSUPP