From: Thies C. Arntzen Date: Sun, 19 Mar 2000 10:56:40 +0000 (+0000) Subject: fix some protos X-Git-Tag: PHP-4.0-RC1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=245428b241c61db1694b7605a7e3bfbd9f0a3313;p=php fix some protos --- diff --git a/ext/standard/php_output.h b/ext/standard/php_output.h index 2278cce179..5b1df2ee49 100644 --- a/ext/standard/php_output.h +++ b/ext/standard/php_output.h @@ -28,10 +28,10 @@ PHPAPI int php_header_write(const char *str, uint str_length); PHPAPI void php_start_ob_buffering(void); PHPAPI void php_end_ob_buffering(int send_buffer); PHPAPI int php_ob_get_buffer(pval *p); -PHPAPI void php_start_implicit_flush(); -PHPAPI void php_end_implicit_flush(); -PHPAPI char *php_get_output_start_filename(); -PHPAPI int php_get_output_start_lineno(); +PHPAPI void php_start_implicit_flush(void); +PHPAPI void php_end_implicit_flush(void); +PHPAPI char *php_get_output_start_filename(void); +PHPAPI int php_get_output_start_lineno(void); PHP_FUNCTION(ob_start); PHP_FUNCTION(ob_end_flush); diff --git a/main/SAPI.h b/main/SAPI.h index 28d12a80b9..ea3e8f5911 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -138,8 +138,8 @@ SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry); SAPI_API void sapi_unregister_post_entry(sapi_post_entry *post_entry); SAPI_API int sapi_register_default_post_reader(void (*default_post_reader)(SLS_D)); -SAPI_API int sapi_flush(); -SAPI_API struct stat *sapi_get_stat(); +SAPI_API int sapi_flush(void); +SAPI_API struct stat *sapi_get_stat(void); SAPI_API char *sapi_getenv(char *name, int name_len); SAPI_API char *sapi_get_default_content_type(SLS_D); diff --git a/main/php_output.h b/main/php_output.h index 2278cce179..5b1df2ee49 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -28,10 +28,10 @@ PHPAPI int php_header_write(const char *str, uint str_length); PHPAPI void php_start_ob_buffering(void); PHPAPI void php_end_ob_buffering(int send_buffer); PHPAPI int php_ob_get_buffer(pval *p); -PHPAPI void php_start_implicit_flush(); -PHPAPI void php_end_implicit_flush(); -PHPAPI char *php_get_output_start_filename(); -PHPAPI int php_get_output_start_lineno(); +PHPAPI void php_start_implicit_flush(void); +PHPAPI void php_end_implicit_flush(void); +PHPAPI char *php_get_output_start_filename(void); +PHPAPI int php_get_output_start_lineno(void); PHP_FUNCTION(ob_start); PHP_FUNCTION(ob_end_flush);