Skip to content

Commit 32c20d5

Browse files
committed
Remove unused mmap_file + mmap_len from basic_globals
1 parent 2354aa9 commit 32c20d5

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

ext/standard/basic_functions.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,6 @@ typedef struct _php_basic_globals {
219219
HashTable url_adapt_session_hosts_ht;
220220
url_adapt_state_ex_t url_adapt_output_ex;
221221
HashTable url_adapt_output_hosts_ht;
222-
223-
#ifdef HAVE_MMAP
224-
void *mmap_file;
225-
size_t mmap_len;
226-
#endif
227-
228222
HashTable *user_filter_map;
229223

230224
/* file.c */

main/streams/streams.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "php_network.h"
2525
#include "php_open_temporary_file.h"
2626
#include "ext/standard/file.h"
27-
#include "ext/standard/basic_functions.h" /* for BG(mmap_file) (not strictly required) */
27+
#include "ext/standard/basic_functions.h" /* for BG(CurrentStatFile) */
2828
#include "ext/standard/php_string.h" /* for php_memnstr, used by php_stream_get_record() */
2929
#include <stddef.h>
3030
#include <fcntl.h>

0 commit comments

Comments
 (0)