1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Export spprintf() so that extension can link properly on win32.

This commit is contained in:
Edin Kadribasic
2002-08-12 09:07:26 +00:00
parent e1658ed6c4
commit 553b7d27bf
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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()