diff --git a/libmateweather/test_metar.c b/libmateweather/test_metar.c index b36e4d91..cbde9914 100644 --- a/libmateweather/test_metar.c +++ b/libmateweather/test_metar.c @@ -21,7 +21,7 @@ main (int argc, char **argv) GOptionEntry entries[] = { { "file", 'f', 0, G_OPTION_ARG_FILENAME, &filename, "file constaining metar observations", NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; GOptionContext* context; GError* error = NULL; diff --git a/libmateweather/test_sun_moon.c b/libmateweather/test_sun_moon.c index abcded70..9107b5f0 100644 --- a/libmateweather/test_sun_moon.c +++ b/libmateweather/test_sun_moon.c @@ -27,7 +27,7 @@ main (int argc, char **argv) "observer's longitude in degrees east", NULL }, { "time", 0, 0, G_OPTION_ARG_STRING, >ime, "time in seconds from Unix epoch", NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; memset(&location, 0, sizeof(WeatherLocation));