summaryrefslogtreecommitdiff
path: root/offsets.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 /offsets.c
parent117ffceefbbdae14a612810a9657a4f701252523 (diff)
Change prototype of functions to have ast_t instead of ast_program_t
Diffstat (limited to 'offsets.c')
-rw-r--r--offsets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/offsets.c b/offsets.c
index 9fbc7f9..f6cd38d 100644
--- a/offsets.c
+++ b/offsets.c
@@ -134,9 +134,9 @@ do_offsets (ast_t *ast, int offset, int level, int *max)
}
gboolean
-offsets (ast_program_t *program)
+offsets (ast_t *ast)
{
- do_offsets ((ast_t *)program, 0, 0, NULL);
+ do_offsets (ast, 0, 0, NULL);
/* The offsets pass can never fail */
return TRUE;