summaryrefslogtreecommitdiffstats
path: root/src/lex.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/lex.c
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/lex.c')
-rw-r--r--src/lex.c4
1 files changed, 2 insertions, 2 deletions
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;