aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorChristian Jullien <jullien@coltrane.eligis.com>2016-09-26 07:02:42 +0200
committerChristian Jullien <jullien@coltrane.eligis.com>2016-09-26 07:02:42 +0200
commite037fd3364096fa5551dc1806bd1a1c48d6ccd34 (patch)
tree585abc0bacae83a72c1aa9aee96601a61df51e71 /libtcc.c
parent6db7a2157bd44cdc1a764e8c7a767ea1dee8e006 (diff)
downloadtinycc-e037fd3364096fa5551dc1806bd1a1c48d6ccd34.tar.gz
tinycc-e037fd3364096fa5551dc1806bd1a1c48d6ccd34.tar.bz2
pstrcpy looks to be needed by Windows win32/win64 builds. Reverted as PUB_FUNC to allow tcc.exe build again.
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtcc.c b/libtcc.c
index 7b675c2..d367ed1 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -135,7 +135,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
/********************************************************/
/* copy a string and truncate it. */
-ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s)
+PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s)
{
char *q, *q_end;
int c;