From fa6f8c609d5f2052f428b00eeda0334e67498c1d Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Sat, 27 Oct 2007 21:41:40 +0000 Subject: Merge piece of 22586: minor warnings spotted on Cygwin: unnecessary static declaration. --- Src/parse.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Src/parse.c') diff --git a/Src/parse.c b/Src/parse.c index fc05d9abd..edcca82da 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2898,17 +2898,23 @@ build_cur_dump(char *nam, char *dump, char **names, int match, int map, return 0; } +/**/ #if defined(HAVE_SYS_MMAN_H) && defined(HAVE_MMAP) && defined(HAVE_MUNMAP) #include +/**/ #if defined(MAP_SHARED) && defined(PROT_READ) +/**/ #define USE_MMAP 1 +/**/ #endif +/**/ #endif +/**/ #ifdef USE_MMAP /* List of dump files mapped. */ @@ -2992,6 +2998,7 @@ load_dump_file(char *dump, struct stat *sbuf, int other, int len) #define zwcstat(f, b) (!!stat(f, b)) +/**/ #endif /* Try to load a function from one of the possible wordcode files for it. -- cgit 1.4.1