summaryrefslogtreecommitdiff
path: root/cat.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2010-04-19 17:56:54 +0200
committerSven Verdoolaege <skimo@kotnet.org>2010-04-19 18:00:11 +0200
commit8802f71a0535d5fa3319b09d92178d0298bcc4aa (patch)
tree84cd7c97d87f3021eb708ff9dfcf8bb595327c77 /cat.c
parent1fa4cd2c6838d24d8ca8416ca786f66278d8d525 (diff)
downloadisl-8802f71a0535d5fa3319b09d92178d0298bcc4aa.tar.gz
isl-8802f71a0535d5fa3319b09d92178d0298bcc4aa.tar.bz2
isl-8802f71a0535d5fa3319b09d92178d0298bcc4aa.zip
isl_pip and isl_cat: terminate isl_arg array with ISL_ARG_END
On most systems, leaving it out apparently just happens to work, but not so on MacOS X. Problem reported and analyzed by Tomofumi Yuki <yuki@cs.colostate.edu>
Diffstat (limited to 'cat.c')
-rw-r--r--cat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cat.c b/cat.c
index 57872428..a7375085 100644
--- a/cat.c
+++ b/cat.c
@@ -17,6 +17,7 @@ struct isl_arg cat_options_arg[] = {
ISL_ARG_CHILD(struct cat_options, isl, "isl", isl_options_arg)
ISL_ARG_CHOICE(struct cat_options, format, 0, "format", \
cat_format, ISL_FORMAT_ISL)
+ISL_ARG_END
};
ISL_ARG_DEF(cat_options, struct cat_options, cat_options_arg)