From 889ee28ed562af4344cba27f17076c88ec099c74 Mon Sep 17 00:00:00 2001 From: Jean-Claude Beaudoin Date: Tue, 27 Sep 2016 01:43:40 -0400 Subject: Rein in unintended external functions on Windows. --- win32/tools/tiny_impdef.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/tools') diff --git a/win32/tools/tiny_impdef.c b/win32/tools/tiny_impdef.c index 48de44f..b6debe6 100644 --- a/win32/tools/tiny_impdef.c +++ b/win32/tools/tiny_impdef.c @@ -28,7 +28,7 @@ #include #include -char *get_export_names(int fd); +static char *get_export_names(int fd); #define tcc_free free #define tcc_realloc realloc @@ -169,7 +169,7 @@ int read_mem(int fd, unsigned offset, void *buffer, unsigned len) /* -------------------------------------------------------------- */ #endif -char *get_export_names(int fd) +static char *get_export_names(int fd) { int l, i, n, n0; char *p; -- cgit v1.3.1