Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sapi/fuzzer/fuzzer-sapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void send_header(sapi_header_struct *sapi_header, void *server_context)
{
}

static char* read_cookies()
static char* read_cookies(void)
{
/* TODO: fuzz these! */
return NULL;
Expand Down Expand Up @@ -172,7 +172,7 @@ int fuzzer_init_php(const char *extra_ini)
return SUCCESS;
}

int fuzzer_request_startup()
int fuzzer_request_startup(void)
{
if (php_request_startup() == FAILURE) {
php_module_shutdown();
Expand All @@ -188,7 +188,7 @@ int fuzzer_request_startup()
return SUCCESS;
}

void fuzzer_request_shutdown()
void fuzzer_request_shutdown(void)
{
zend_try {
/* Destroy thrown exceptions. This does not happen as part of request shutdown. */
Expand All @@ -207,7 +207,7 @@ void fuzzer_request_shutdown()
}

/* Set up a dummy stack frame so that exceptions may be thrown. */
void fuzzer_setup_dummy_frame()
void fuzzer_setup_dummy_frame(void)
{
static zend_execute_data execute_data;
static zend_function func;
Expand Down