diff options
| author | Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com> | 2016-09-27 01:43:40 -0400 |
|---|---|---|
| committer | Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com> | 2016-09-27 01:43:40 -0400 |
| commit | 889ee28ed562af4344cba27f17076c88ec099c74 (patch) | |
| tree | ff11a61c7bd3bb1b7e0eb10ed7b17f0e8427369d /win32/tools/tiny_impdef.c | |
| parent | 08335c1548c015ccbdaebcd3dae27d94a48d182a (diff) | |
| download | tinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.gz tinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.bz2 | |
Rein in unintended external functions on Windows.
Diffstat (limited to 'win32/tools/tiny_impdef.c')
| -rw-r--r-- | win32/tools/tiny_impdef.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <io.h> #include <malloc.h> -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; |
