aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index d194bac..a1028aa 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -7,6 +7,7 @@
#include <string.h>
#include "alloc.h"
+#include "common.h"
#include "errors.h"
#include "parser.h"
@@ -22,9 +23,9 @@ static parsefn parseblk,
parsestmt,
parsetype;
-static idx_t_ astalloc(struct ast *);
static struct ast mkast(void);
-static void astresz(struct ast *);
+static idx_t_ astalloc(struct ast *) __attribute__((nonnull));
+static void astresz(struct ast *) __attribute__((nonnull));
static size_t toksidx;