diff options
| author | grischka <grischka> | 2016-10-01 21:06:33 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 21:06:33 +0200 |
| commit | 0a624782dfc8fee6f0600066b135d3b20e4274f4 (patch) | |
| tree | e47f5f74ee3570445a7bc44f11bfb0ed98f4f427 /libtcc.c | |
| parent | 6d2be31b93bec581391ea4476482693ee7452f59 (diff) | |
| download | tinycc-0a624782dfc8fee6f0600066b135d3b20e4274f4.tar.gz tinycc-0a624782dfc8fee6f0600066b135d3b20e4274f4.tar.bz2 | |
build: revert Makefiles to 0.9.26 state (mostly)
Except
- that libtcc1.a is now installed in subdirs i386/ etc.
- the support for arm and arm64
- some of the "Darwin" fixes
- tests are mosly unchanged
Also
- removed the "legacy links for cross compilers" (was total mess)
- removed "out-of-tree" build support (was broken anyway)
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; @@ -155,7 +155,7 @@ ST_FUNC char *pstrcpy(char *buf, int buf_size, const char *s) } /* strcat and truncate. */ -ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s) +PUB_FUNC char *pstrcat(char *buf, int buf_size, const char *s) { int len; len = strlen(buf); @@ -164,7 +164,7 @@ ST_FUNC char *pstrcat(char *buf, int buf_size, const char *s) return buf; } -ST_FUNC char *pstrncpy(char *out, const char *in, size_t num) +PUB_FUNC char *pstrncpy(char *out, const char *in, size_t num) { memcpy(out, in, num); out[num] = '\0'; |
