generator.ml: avoid warnings in generated tests.c
authorJim Meyering <meyering@redhat.com>
Mon, 17 Aug 2009 16:47:46 +0000 (18:47 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 08:06:33 +0000 (10:06 +0200)
commitc3be5c3297d18bfe2545914f0e07574430437ebe
treeb0fcd676011ce30d0db3367b9a3965d84e7d0cdc
parent5a07cdc35856adfa25b8d0924a8d641b2320aadf
generator.ml: avoid warnings in generated tests.c

* src/generator.ml: Avoid warnings in generated tests.c, regarding
print_strings, and in exercising any function that takes a StringList
or DeviceList parameter.
(print_strings): Change param type to "char *const *s".
Declare fully-const initializer for each list-taking function use.
Cast *List argument to "(char **)".
src/generator.ml