diff options
-rw-r--r-- | main/fopen_wrappers.h | 2 | ||||
-rw-r--r-- | main/spprintf.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h index 1a9ca6cc3a..3e2e84b199 100644 --- a/main/fopen_wrappers.h +++ b/main/fopen_wrappers.h @@ -20,6 +20,7 @@ #ifndef FOPEN_WRAPPERS_H #define FOPEN_WRAPPERS_H +BEGIN_EXTERN_C() #include "php_globals.h" PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC); @@ -34,6 +35,7 @@ PHPAPI FILE *php_fopen_with_path(char *filename, char *mode, char *path, char ** PHPAPI int php_is_url(char *path); PHPAPI char *php_strip_url_passwd(char *path); +END_EXTERN_C() #endif /* 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 */ |