X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-unistd.c;h=ec02eeefcae397f195e6c1309f96624a102c92e8;hb=d6b7bf83fda294dd77ce90aac0bcd73a7626894d;hp=e0b82918a95d5124ac3ca62697c0085ad60dfdf4;hpb=b8521e81e705f88784e7a6709bcd6c5a3ea440e0;p=gnulib.git diff --git a/tests/test-unistd.c b/tests/test-unistd.c index e0b82918a..ec02eeefc 100644 --- a/tests/test-unistd.c +++ b/tests/test-unistd.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ /* 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 *)); /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; @@ -50,7 +50,7 @@ intptr_t t8; #endif int -main () +main (void) { return 0; }