]> granicus.if.org Git - php/commitdiff
fix some protos
authorThies C. Arntzen <thies@php.net>
Sun, 19 Mar 2000 10:56:40 +0000 (10:56 +0000)
committerThies C. Arntzen <thies@php.net>
Sun, 19 Mar 2000 10:56:40 +0000 (10:56 +0000)
ext/standard/php_output.h
main/SAPI.h
main/php_output.h

index 2278cce179d4bfaf8760a971a1022f46a57b04d8..5b1df2ee49767b3cb11997b33e5b5a1b4ba301ab 100644 (file)
@@ -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);
index 28d12a80b92da94106f7ff870df545139caae9ba..ea3e8f591152abe77dc63e1f4464927e22fe97cc 100644 (file)
@@ -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);
index 2278cce179d4bfaf8760a971a1022f46a57b04d8..5b1df2ee49767b3cb11997b33e5b5a1b4ba301ab 100644 (file)
@@ -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);