summaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
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)