diff options
author | Wez Furlong <wez@php.net> | 2002-05-20 01:32:48 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-05-20 01:32:48 +0000 |
commit | 50f7427e69741acf9094a0f63c35503bfa4afca6 (patch) | |
tree | ae3aeb9d3ad1ec1099db48ebe69a47b6a58d9766 /main/spprintf.h | |
parent | fc964e88d36bc39ea51a12e5ad8496d469c0cc80 (diff) | |
download | php-git-50f7427e69741acf9094a0f63c35503bfa4afca6.tar.gz |
Protect C code with extern "C"
Diffstat (limited to 'main/spprintf.h')
-rw-r--r-- | main/spprintf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/spprintf.h b/main/spprintf.h index 00e53d706e..1ba503d602 100644 --- a/main/spprintf.h +++ b/main/spprintf.h @@ -21,9 +21,11 @@ #include "snprintf.h" +BEGIN_EXTERN_C() 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() #endif /* SNPRINTF_H */ |