aboutsummaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-05 02:04:39 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-05 02:04:39 +0800
commit6586df0797ad60af031cb80889f8205b6adcdfe3 (patch)
treee85ca5ff863f823f32702d68608121900cfc5170 /ast.c
parent7bf7dcbefc89fd67e62c0bb625089c1d53e8e878 (diff)
higher code-gen quality
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index 959addf..627a85a 100644
--- a/ast.c
+++ b/ast.c
@@ -29,7 +29,7 @@ CNode *cnode_create_ast(CNode *wrapped) {
return wrapped;
}
-CNode *cnode_create_nop() {
+CNode *cnode_create_nop(void) {
CNode *nop = NEW_CNODE;
nop->type = NOP;
nop->next = nop->chd = NULL;