From: Edin Kadribasic Date: Mon, 12 Aug 2002 09:07:26 +0000 (+0000) Subject: Export spprintf() so that extension can link properly on win32. X-Git-Tag: php-4.3.0dev_zend2_alpha3~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=553b7d27bf8cfb26981769f4dfa9cf574f94892f;p=php Export spprintf() so that extension can link properly on win32. --- diff --git a/main/spprintf.c b/main/spprintf.c index fe34b12002..e3090741a3 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -633,7 +633,7 @@ PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap } -int spprintf(char **pbuf, size_t max_len, const char *format, ...) +PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) { int cc; va_list ap; diff --git a/main/spprintf.h b/main/spprintf.h index 64ce28300d..c249fe5ecc 100644 --- a/main/spprintf.h +++ b/main/spprintf.h @@ -35,7 +35,7 @@ There is also snprintf: See difference explained in snprintf.h #include "snprintf.h" BEGIN_EXTERN_C() -extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); +PHPAPI extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); END_EXTERN_C()