libs/wine: move mmap_init declaration to library.h
Marcin Baczyński
marbacz at gmail.com
Fri Nov 13 16:28:01 CST 2009
---
include/wine/library.h | 1 +
libs/wine/loader.c | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/wine/library.h b/include/wine/library.h
index 9ff1910..a3b49b7 100644
--- a/include/wine/library.h
+++ b/include/wine/library.h
@@ -75,6 +75,7 @@ extern int wine_call_on_stack( int (*func)(void *), void *arg, void *stack );
/* memory mappings */
+extern void mmap_init( void );
extern void *wine_anon_mmap( void *start, size_t size, int prot, int flags );
extern void wine_mmap_add_reserved_area( void *addr, size_t size );
extern void wine_mmap_remove_reserved_area( void *addr, size_t size, int unmap );
diff --git a/libs/wine/loader.c b/libs/wine/loader.c
index 8d1b366..b59facf 100644
--- a/libs/wine/loader.c
+++ b/libs/wine/loader.c
@@ -87,7 +87,6 @@ static const char **dll_paths;
static unsigned int nb_dll_paths;
static int dll_path_maxlen;
-extern void mmap_init(void);
extern const char *get_dlldir( const char **default_dlldir );
/* build the dll load path from the WINEDLLPATH variable */
--
1.6.5.2
More information about the wine-patches
mailing list