From ff158bffe6f7ddc2b727069daa238b396c318e14 Mon Sep 17 00:00:00 2001 From: Jean-Claude Beaudoin Date: Sun, 25 Sep 2016 22:32:41 -0400 Subject: Rein in unintended external functions. --- tcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 78d0b2d..20846a3 100644 --- a/tcc.h +++ b/tcc.h @@ -1167,9 +1167,9 @@ 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); -PUB_FUNC char *pstrcat(char *buf, int buf_size, const char *s); -PUB_FUNC char *pstrncpy(char *out, const char *in, size_t num); +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); PUB_FUNC char *tcc_fileextension (const char *name); -- cgit v1.3.1