aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorVlad Vissoultchev <wqweto@gmail.com>2016-04-13 14:32:51 +0300
committerVlad Vissoultchev <wqweto@gmail.com>2016-04-13 14:33:21 +0300
commit34feee0ed6879a9c28e8f82fde932eb6b20d79d5 (patch)
treec8b17f67befaace812f15d4d15640168a4f12e00 /tcc.h
parentcb5f6b063b2b75e29f91fc1a523372bf48ae8bff (diff)
downloadtinycc-34feee0ed6879a9c28e8f82fde932eb6b20d79d5.tar.gz
tinycc-34feee0ed6879a9c28e8f82fde932eb6b20d79d5.tar.bz2
Move utility functions `trimfront/back` to tccpp.c
These are used in `libtcc.c` now and cannot remain in `tccpe.c`
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 8e90496..09c27d8 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1263,6 +1263,8 @@ ST_FUNC void preprocess_delete(void);
ST_FUNC int tcc_preprocess(TCCState *s1);
ST_FUNC void skip(int c);
ST_FUNC NORETURN void expect(const char *msg);
+ST_FUNC char *trimfront(char *p);
+ST_FUNC char *trimback(char *a, char *e);
/* ------------ tccgen.c ------------ */