From 9855a34f48acf6ae3aaeba9ec37756da41507e64 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 24 Aug 2014 21:06:09 +0200 Subject: Coding style: always add a space between a pointer's type and the * --- src/lex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lex.c') diff --git a/src/lex.c b/src/lex.c index 1586538..c6b771b 100644 --- a/src/lex.c +++ b/src/lex.c @@ -158,7 +158,7 @@ static inline char current(fastd_lex_t *lex) { } /** Returns the current token as a newly allocated string */ -static char* get_token(fastd_lex_t *lex) { +static char * get_token(fastd_lex_t *lex) { return fastd_strndup(lex->buffer+lex->start, lex->tok_len); } @@ -443,7 +443,7 @@ static int parse_keyword(YYSTYPE *yylval, YYLTYPE *yylloc, fastd_lex_t *lex) { /** Initializes a new scanner for the given file */ -fastd_lex_t* fastd_lex_init(FILE *file) { +fastd_lex_t * fastd_lex_init(FILE *file) { fastd_lex_t *lex = fastd_new0(fastd_lex_t); lex->file = file; -- cgit v1.2.3