(main): Define with a prototype.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Sep 2003 08:46:51 +0000 (08:46 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Sep 2003 08:46:51 +0000 (08:46 +0000)
lib/yesno.c

index 2a6696cd6d1e4d15752636a1fd2e106ea438c3a3..0ad5511d35d466819b5ed5364bcb2ca068ed1116 100644 (file)
@@ -31,7 +31,7 @@
 extern int rpmatch (char const *response);
 
 int
-yesno ()
+yesno (void)
 {
   /* We make some assumptions here:
      a) leading white space in the response are not vital