diff options
Diffstat (limited to 'mysys/my_mmap.c')
-rw-r--r-- | mysys/my_mmap.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/mysys/my_mmap.c b/mysys/my_mmap.c index 21bfddae46c..147bdfdcbf2 100644 --- a/mysys/my_mmap.c +++ b/mysys/my_mmap.c @@ -2,8 +2,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -33,13 +32,6 @@ int my_msync(int fd, void *addr, size_t len, int flags) static SECURITY_ATTRIBUTES mmap_security_attributes= {sizeof(SECURITY_ATTRIBUTES), 0, TRUE}; -int my_getpagesize(void) -{ - SYSTEM_INFO si; - GetSystemInfo(&si); - return si.dwPageSize; -} - void *my_mmap(void *addr, size_t len, int prot, int flags, int fd, my_off_t offset) { |