aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-12 23:21:00 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-12 23:21:00 +0800
commite367f7db025eabd57d0c150e1072cb2ead724f5c (patch)
tree6f2024baed9a0700cf5074f5f552d3c0c3aab968 /ast.h
parenteeddc718ac9008951b109daf54811ab778a449c2 (diff)
remove redundant code in typedef handling
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.h b/ast.h
index a886c2e..11fdf04 100644
--- a/ast.h
+++ b/ast.h
@@ -60,7 +60,7 @@ typedef struct CNode {
CNode *cnode_add_loc(CNode *node, YYLTYPE loc);
CNode *cnode_create_ast(CNode *wrapped);
-CNode *cnode_create_nop();
+CNode *cnode_create_nop(void);
CNode *cnode_create_general(int type, int subtype, int pnum, va_list ap);
CNode *cnode_list_append(CNode *list, CNode *tail);
CNode *cnode_list_wrap(int type, CNode *list);