Skip to content

Commit

Permalink
(return_one) removed.
Browse files Browse the repository at this point in the history
(OnChangeMemoryLimit) Only defined if MEMORY_LIMIT is defined.
  • Loading branch information
Andrei Zmievski committed Dec 15, 1999
1 parent b68f3af commit 158979f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ static PHP_INI_MH(OnChangeMaxExecutionTime)
}


#if MEMORY_LIMIT
static PHP_INI_MH(OnChangeMemoryLimit)
{
int new_limit;
Expand All @@ -146,6 +147,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
}
return zend_set_memory_limit(new_limit);
}
#endif


static PHP_INI_MH(OnUpdateErrorReporting)
Expand Down Expand Up @@ -790,12 +792,6 @@ void php_request_shutdown_for_exec(void *dummy)
}


static int return_one(void *p)
{
return 1;
}


void php_request_shutdown(void *dummy)
{
CLS_FETCH();
Expand Down

0 comments on commit 158979f

Please sign in to comment.