tests: add signature checks
[pspp] / tests / test-futimens.c
index 3eac64c4c8075ea2465e57c5f97b67e9ff23cad7..5753c6b2099686ddbae1a80bb092e014350b19e3 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <sys/stat.h>
 
+#include "signature.h"
+SIGNATURE_CHECK (futimens, int, (int, struct timespec const[2]));
+
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
@@ -49,7 +52,7 @@
 #include "test-futimens.h"
 
 int
-main ()
+main (void)
 {
   /* Clean up any trash from prior testsuite runs.  */
   ASSERT (system ("rm -rf " BASE "*") == 0);