Make a proper prototype for the main() function declaration. (add void)

This commit is contained in:
nekral-guest 2008-01-05 13:51:43 +00:00
parent 2040826791
commit 239b2d7bee
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,8 @@
* src/chage.c: Define isnum() as static and add its prototype.
* libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
OK as long as prototypes.h included this file.)
* src/nologin.c: Make a proper prototype for the main() function
declaration. (add void)
2008-01-01 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -30,7 +30,7 @@
#include <unistd.h>
#include "exitcodes.h"
int main ()
int main (void)
{
const char *user, *tty;