-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
#define OPT_TOPLEVEL 304
-static const struct argp_option options[] =
+static const struct argp_option test_options[] =
{
{ NULL, 0, NULL, 0, "\
This is a test for threads so we allow ther user to selection the number of \
/* Data structure to communicate with argp functions. */
static struct argp argp =
{
- options, parse_opt
+ test_options, parse_opt
};
-int
-main (void)
+static int
+do_test (void)
{
int argc = 2;
char *argv[3] = { (char *) "tst-argp1", (char *) "--help", NULL };
{
return ARGP_ERR_UNKNOWN;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
/* Tests of C and POSIX locale contents.
- Copyright (C) 2000,01,02 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2000.
}
-int
-main (void)
+static int
+do_test (void)
{
int result;
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"