summaryrefslogtreecommitdiff
path: root/switch.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-03-23 15:47:33 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-03-23 15:47:33 -0400
commit8d928615facb14828972f983d0ee1314d854aae7 (patch)
tree3ef78bf5cb6b45ec1db3e6b7eedbdaa5553dcc66 /switch.c
parent117ffceefbbdae14a612810a9657a4f701252523 (diff)
Change prototype of functions to have ast_t instead of ast_program_t
Diffstat (limited to 'switch.c')
-rw-r--r--switch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/switch.c b/switch.c
index 7368885..394f434 100644
--- a/switch.c
+++ b/switch.c
@@ -113,9 +113,9 @@ real_switch_check (ast_t *ast)
}
gboolean
-switch_check (ast_program_t *program)
+switch_check (ast_t *ast)
{
- if (!real_switch_check ((ast_t *)program))
+ if (!real_switch_check (ast))
return FALSE;
return TRUE;