]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - rt/tst-timer.c
Simplify tzfile fstat failure code
[thirdparty/glibc.git] / rt / tst-timer.c
index 3ab87f10899330c7c3b94c117f0120fe4bf7e50b..776e2224279a35dc5a782fa119ec2c3b2f3a5a90 100644 (file)
@@ -1,5 +1,5 @@
 /* Tests for POSIX timer implementation.  Dummy version.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,8 @@
 
 /* This file is only used if there is no other implementation and it should
    means that there is no implementation of POSIX timers.  */
-int
-main (void)
+static int
+do_test (void)
 {
 #ifdef _POSIX_TIMERS
   /* There should be a test.  */
@@ -30,3 +30,6 @@ main (void)
   return 0;
 #endif
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"