diff options
| author | Stig Bakken <ssb@php.net> | 1999-12-01 22:59:45 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 1999-12-01 22:59:45 +0000 |
| commit | 2467dd6d05d97805cfbe027f9be4b4cfac8d9a25 (patch) | |
| tree | a128cce78f8bf36e0bfffe9871bec480c5afc157 /main/SAPI.h | |
| parent | 93536507f686a9dfb041b4583cd37cf4c6c4c37c (diff) | |
| download | php-git-2467dd6d05d97805cfbe027f9be4b4cfac8d9a25.tar.gz | |
@Fix some warnings when compiling in maintainer-mode (Stig)
@Made mysql and gd work as shared extensions again (Stig)
- Fixed some warnings in maintainer-mode.
- Made mysql and gd work as shared extensions again by defining
COMPILE_DL if PIC is defined.
# We need a better solution for building .so extensions than this
# PIC/COMPILE_DL hack!
Diffstat (limited to 'main/SAPI.h')
| -rw-r--r-- | main/SAPI.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/SAPI.h b/main/SAPI.h index 0433cca55b..bed0661573 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -96,7 +96,7 @@ typedef struct { # define SLS_FETCH() sapi_globals_struct *sapi_globals = ts_resource(sapi_globals_id) SAPI_API extern int sapi_globals_id; #else -# define SLS_D +# define SLS_D void # define SLS_DC # define SLS_C # define SLS_CC @@ -117,7 +117,7 @@ SAPI_API void sapi_activate(SLS_D); SAPI_API void sapi_deactivate(SLS_D); SAPI_API int sapi_add_header(char *header_line, uint header_line_len); -SAPI_API int sapi_send_headers(); +SAPI_API int sapi_send_headers(void); SAPI_API int sapi_register_post_readers(sapi_post_content_type_reader *post_content_type_readers); SAPI_API int sapi_register_post_reader(sapi_post_content_type_reader *post_content_type_reader); |
