tests: avoid several compiler warnings
[gnulib.git] / tests / test-stdio.c
index 41299e2..3f2f067 100644 (file)
@@ -27,10 +27,10 @@ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */
-verify (sizeof (NULL) == sizeof (void *));
+verify (sizeof NULL == sizeof (void *));
 
 int
-main ()
+main (void)
 {
   return 0;
 }