Unified · Split
| @@ -135,7 +135,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved) · 134 unmodified lines | |||
| 135 | 135 | ||
| 136 | /********************************************************/ | 136 | /********************************************************/ |
| 137 | /* copy a string and truncate it. */ | 137 | /* copy a string and truncate it. */ |
| 138 | ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) | 138 | PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) |
| 139 | { | 139 | { |
| 140 | char *q, *q_end; | 140 | char *q, *q_end; |
| 141 | int c; | 141 | int c; |
| @@ -1167,7 +1167,7 @@ ST_DATA struct TCCState *tcc_state; · 1166 unmodified lines | |||
| 1167 | #define AFF_PREPROCESS 0x0004 /* preprocess file */ | 1167 | #define AFF_PREPROCESS 0x0004 /* preprocess file */ |
| 1168 | 1168 | ||
| 1169 | /* public functions currently used by the tcc main function */ | 1169 | /* public functions currently used by the tcc main function */ |
| 1170 | ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s); | 1170 | PUB_FUNC char *pstrcpy(char *buf, int buf_size, const char *s); |
| 1171 | ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s); | 1171 | ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s); |
| 1172 | ST_FUNC char *pstrncpy(char *out, const char *in, size_t num); | 1172 | ST_FUNC char *pstrncpy(char *out, const char *in, size_t num); |
| 1173 | PUB_FUNC char *tcc_basename(const char *name); | 1173 | PUB_FUNC char *tcc_basename(const char *name); |