X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Ftest_tparm.c;h=50289defdf603dd7cdfd460cf52e0d04daee424e;hb=HEAD;hp=1c4e0d4c2beae380ef6b97f0753d4f0ed6a220a3;hpb=6fd6dd99d32385a01ca639d1d56b90b13e9c1d33;p=ncurses.git diff --git a/test/test_tparm.c b/test/test_tparm.c index 1c4e0d4c..50289def 100644 --- a/test/test_tparm.c +++ b/test/test_tparm.c @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey * - * $Id: test_tparm.c,v 1.37 2023/04/28 23:12:00 tom Exp $ + * $Id: test_tparm.c,v 1.39 2023/11/11 01:00:03 tom Exp $ * * Exercise tparm/tiparm, either for all possible capabilities with fixed * parameters, or one capability with specific combinations of parameters. @@ -69,11 +69,17 @@ failed(const char *msg) #if HAVE_TIGETSTR static int a_opt; -static int i_opt; static int p_opt; -static int s_opt; static int v_opt; +#if HAVE_TIPARM +static int i_opt; +#endif + +#if HAVE_TIPARM_S +static int s_opt; +#endif + /* * Total tests (and failures): */ @@ -605,6 +611,8 @@ main(int argc, char *argv[]) all_caps[len_caps++] = strdup(ExtStrname(term, (int) n, strnames)); } } +#else + (void) std_caps; #endif /*