tests: avoid several compiler warnings
[gnulib.git] / tests / test-dirname.c
index 44898dd..bd75020 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the gnulib dirname module.
-   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007, 2009 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
@@ -131,7 +131,7 @@ static struct test tests[] = {
 };
 
 int
-main ()
+main (void)
 {
   struct test *t;
   bool ok = true;