From 34feee0ed6879a9c28e8f82fde932eb6b20d79d5 Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Wed, 13 Apr 2016 14:32:51 +0300 Subject: Move utility functions `trimfront/back` to tccpp.c These are used in `libtcc.c` now and cannot remain in `tccpe.c` --- tcc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcc.h') 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 ------------ */ -- cgit v1.3.1