summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-03-19 10:56:40 +0000
committerThies C. Arntzen <thies@php.net>2000-03-19 10:56:40 +0000
commit245428b241c61db1694b7605a7e3bfbd9f0a3313 (patch)
treec4c4197a4026f947d6857744ad1c093e899cccd4
parent3b88c31bfc320056b436a814f98f850dfabe4588 (diff)
downloadphp-git-245428b241c61db1694b7605a7e3bfbd9f0a3313.tar.gz
fix some protos
-rw-r--r--ext/standard/php_output.h8
-rw-r--r--main/SAPI.h4
-rw-r--r--main/php_output.h8
3 files changed, 10 insertions, 10 deletions
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);