# HG changeset patch # User Matti Hamalainen # Date 1456997842 -7200 # Node ID a2c2c63311deeb22a453fd91e9a007c60563d184 # Parent ecbc8cabd6a2e7e18e9f6519631f1908a1003049 Change in th_args API. diff -r ecbc8cabd6a2 -r a2c2c63311de sidinfo.c --- a/sidinfo.c Wed Feb 17 09:23:20 2016 +0200 +++ b/sidinfo.c Thu Mar 03 11:37:22 2016 +0200 @@ -14,6 +14,7 @@ #define SET_DEF_CHARSET "utf-8" #define SET_SLDB_FILENAME "Songlengths.txt" + enum { OTYPE_OTHER = 0, @@ -95,7 +96,7 @@ // Define option arguments -static const th_optarg_t optList[] = +static const th_optarg optList[] = { { 0, '?', "help", "Show this help", OPT_NONE }, // { 1, 'v', "verbose", "Be more verbose", OPT_NONE },