From c32bc966c42abba604951f499c26e526599e9125 Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Fri, 25 Oct 2013 11:42:06 +0200 Subject: [PATCH] Remove obsolete compatibility function declarations for snprintf() and vsnprintf() We were providing function declarations without ever providing function implementations. Also, for some reason, this caues compilation issues on older Linux versions. --- include/atalk/compat.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/atalk/compat.h b/include/atalk/compat.h index a2d318f4..083886cc 100644 --- a/include/atalk/compat.h +++ b/include/atalk/compat.h @@ -15,18 +15,6 @@ extern char *getusershell (void); #endif -#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) -# include -# include -# 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 -- 2.39.2