From 67aebdd5b733094bffbf23a87da14d2c53937a99 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 11 May 2009 18:46:02 +0200 Subject: enable making tcc using libtcc --- tcc.h | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 9fa9944..7ee5282 100644 --- a/tcc.h +++ b/tcc.h @@ -724,23 +724,25 @@ extern long double strtold (const char *__nptr, char **__endptr); #endif void error(const char *fmt, ...); +void error_noabort(const char *fmt, ...); void warning(const char *fmt, ...); + void tcc_set_lib_path_w32(TCCState *s); int tcc_set_flag(TCCState *s, const char *flag_name, int value); void tcc_print_stats(TCCState *s, int64_t total_time); -static void tcc_free(void *ptr); -static void *tcc_malloc(unsigned long size); -static void *tcc_mallocz(unsigned long size); -static void *tcc_realloc(void *ptr, unsigned long size); -static char *tcc_strdup(const char *str); - -static char *tcc_basename(const char *name); -static char *tcc_fileextension (const char *name); -static char *pstrcpy(char *buf, int buf_size, const char *s); -static char *pstrcat(char *buf, int buf_size, const char *s); -static void dynarray_add(void ***ptab, int *nb_ptr, void *data); -static void dynarray_reset(void *pp, int *n); +void tcc_free(void *ptr); +void *tcc_malloc(unsigned long size); +void *tcc_mallocz(unsigned long size); +void *tcc_realloc(void *ptr, unsigned long size); +char *tcc_strdup(const char *str); + +char *tcc_basename(const char *name); +char *tcc_fileextension (const char *name); +char *pstrcpy(char *buf, int buf_size, const char *s); +char *pstrcat(char *buf, int buf_size, const char *s); +void dynarray_add(void ***ptab, int *nb_ptr, void *data); +void dynarray_reset(void *pp, int *n); #ifdef CONFIG_TCC_BACKTRACE extern int num_callers; -- cgit v1.3.1