diff options
| author | seyko <seyko2@gmail.com> | 2015-04-10 06:44:34 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-10 06:44:34 +0300 |
| commit | 3c372b4c8aed2060ecff980a377a128e59c279b3 (patch) | |
| tree | fe443b86d67e6d1681c0eb6366fe9b37bf05c633 /tcclib.h | |
| parent | dec959358a2d947e7bad18507394b7057a93fae3 (diff) | |
| download | tinycc-3c372b4c8aed2060ecff980a377a128e59c279b3.tar.gz tinycc-3c372b4c8aed2060ecff980a377a128e59c279b3.tar.bz2 | |
remove a compilation warnings for libtest and test3
------------ libtest ------------
./libtcc_test lib_path=..
<string>:11: warning: implicit declaration of function 'printf'
<string>:13: warning: implicit declaration of function 'add'
------------ test3 ------------
tcctest.c:1982: warning: implicit declaration of function 'putchar'
tcctest.c:2133: warning: implicit declaration of function 'strlen'
Diffstat (limited to 'tcclib.h')
| -rw-r--r-- | tcclib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,7 @@ int getchar(void); char *gets(char *s); int ungetc(int c, FILE *stream); int fflush(FILE *stream); +int putchar (int c); int printf(const char *format, ...); int fprintf(FILE *stream, const char *format, ...); @@ -64,6 +65,7 @@ void *memcpy(void *dest, const void *src, size_t n); void *memmove(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); char *strdup(const char *s); +size_t strlen(const char *s); /* dlfcn.h */ #define RTLD_LAZY 0x001 |
