aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2008-03-31 19:50:58 +0000
committergrischka <grischka>2008-03-31 19:50:58 +0000
commitf22e961f805d25482d0eefabc7a1bca202cbe599 (patch)
tree8da5d1e7cf2b1c303bbce38e83ac52fffda2daac /tcc.c
parenta327c7a55245536a00539f46b0cee689875e3754 (diff)
downloadtinycc-f22e961f805d25482d0eefabc7a1bca202cbe599.tar.gz
tinycc-f22e961f805d25482d0eefabc7a1bca202cbe599.tar.bz2
update manual, changelog
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.c b/tcc.c
index a3ff576..9e30eeb 100644
--- a/tcc.c
+++ b/tcc.c
@@ -1035,6 +1035,7 @@ static char *pstrcat(char *buf, int buf_size, const char *s)
return buf;
}
+#ifndef LIBTCC
static int strstart(const char *str, const char *val, const char **ptr)
{
const char *p, *q;
@@ -1050,6 +1051,7 @@ static int strstart(const char *str, const char *val, const char **ptr)
*ptr = p;
return 1;
}
+#endif
/* extract the basename of a file */
static char *tcc_basename(const char *name)