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 /libtcc.c | |
| parent | 08335c1548c015ccbdaebcd3dae27d94a48d182a (diff) | |
| download | tinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.gz tinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.bz2 | |
Rein in unintended external functions on Windows.
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,7 +117,7 @@ static void tcc_add_systemdir(TCCState *s) #endif #ifndef CONFIG_TCC_STATIC -void dlclose(void *p) +static void dlclose(void *p) { FreeLibrary((HMODULE)p); } @@ -135,7 +135,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved) /********************************************************/ /* copy a string and truncate it. */ -PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) +ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) { char *q, *q_end; int c; |
