aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorJean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>2016-09-27 01:43:40 -0400
committerJean-Claude Beaudoin <jean.claude.beaudoin@gmail.com>2016-09-27 01:43:40 -0400
commit889ee28ed562af4344cba27f17076c88ec099c74 (patch)
treeff11a61c7bd3bb1b7e0eb10ed7b17f0e8427369d /tcc.h
parent08335c1548c015ccbdaebcd3dae27d94a48d182a (diff)
downloadtinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.gz
tinycc-889ee28ed562af4344cba27f17076c88ec099c74.tar.bz2
Rein in unintended external functions on Windows.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index 74a4c20..20846a3 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1167,7 +1167,7 @@ ST_DATA struct TCCState *tcc_state;
#define AFF_PREPROCESS 0x0004 /* preprocess file */
/* public functions currently used by the tcc main function */
-PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s);
+ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s);
ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s);
ST_FUNC char *pstrncpy(char *out, const char *in, size_t num);
PUB_FUNC char *tcc_basename(const char *name);