Skip to content

Commit d9a8628

Browse files
author
Sascha Schumann
committed
Fix some warnings
1 parent 4a60eed commit d9a8628

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

main/SAPI.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ typedef struct _sapi_post_content_type_reader {
113113

114114

115115
SAPI_API void sapi_startup(sapi_module_struct *sf);
116+
SAPI_API void sapi_shutdown(void);
116117
SAPI_API void sapi_activate(SLS_D);
117118
SAPI_API void sapi_deactivate(SLS_D);
118119

main/mergesort.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ static char sccsid[] = "@(#)merge.c 8.2 (Berkeley) 2/14/94";
5858
#include <stdlib.h>
5959
#include <string.h>
6060

61+
#include "php.h"
62+
6163
#if (WINNT|WIN32)
6264
#include <winsock.h> /* Includes definition for u_char */
6365
#endif

main/php_content_types.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include "SAPI.h"
33
#include "rfc1867.h"
44

5+
#include "php_content_types.h"
6+
57
static sapi_post_content_type_reader php_post_content_types[] = {
68
{ MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, rfc1867_post_reader },
79
{ NULL, 0, NULL }
@@ -19,7 +21,7 @@ SAPI_POST_READER_FUNC(php_default_post_reader)
1921
}
2022

2123

22-
int php_startup_SAPI_content_types()
24+
int php_startup_SAPI_content_types(void)
2325
{
2426
sapi_register_post_readers(php_post_content_types);
2527
sapi_register_default_post_reader(php_default_post_reader);

main/php_content_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#ifndef _PHP_CONTENT_TYPES_H
22
#define _PHP_CONTENT_TYPES_H
33

4+
SAPI_POST_READER_FUNC(php_default_post_reader);
45
int php_startup_SAPI_content_types(void);
56

67
#endif /* _PHP_CONTENT_TYPES_H */

0 commit comments

Comments
 (0)