aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtcc.c b/libtcc.c
index d367ed1..827d3c0 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -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;