Remove unused mmap_file + mmap_len from basic_globals

This commit is contained in:
Nikita Popov 2019-09-27 12:19:31 +02:00
parent 2354aa9676
commit 32c20d5670
2 changed files with 1 additions and 7 deletions

View file

@ -219,12 +219,6 @@ typedef struct _php_basic_globals {
HashTable url_adapt_session_hosts_ht; HashTable url_adapt_session_hosts_ht;
url_adapt_state_ex_t url_adapt_output_ex; url_adapt_state_ex_t url_adapt_output_ex;
HashTable url_adapt_output_hosts_ht; HashTable url_adapt_output_hosts_ht;
#ifdef HAVE_MMAP
void *mmap_file;
size_t mmap_len;
#endif
HashTable *user_filter_map; HashTable *user_filter_map;
/* file.c */ /* file.c */

View file

@ -24,7 +24,7 @@
#include "php_network.h" #include "php_network.h"
#include "php_open_temporary_file.h" #include "php_open_temporary_file.h"
#include "ext/standard/file.h" #include "ext/standard/file.h"
#include "ext/standard/basic_functions.h" /* for BG(mmap_file) (not strictly required) */ #include "ext/standard/basic_functions.h" /* for BG(CurrentStatFile) */
#include "ext/standard/php_string.h" /* for php_memnstr, used by php_stream_get_record() */ #include "ext/standard/php_string.h" /* for php_memnstr, used by php_stream_get_record() */
#include <stddef.h> #include <stddef.h>
#include <fcntl.h> #include <fcntl.h>