Make a proper prototype for the main() function declaration. (add void)
This commit is contained in:
parent
2040826791
commit
239b2d7bee
@ -19,6 +19,8 @@
|
|||||||
* src/chage.c: Define isnum() as static and add its prototype.
|
* src/chage.c: Define isnum() as static and add its prototype.
|
||||||
* libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
|
* libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
|
||||||
OK as long as prototypes.h included this file.)
|
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>
|
2008-01-01 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "exitcodes.h"
|
#include "exitcodes.h"
|
||||||
|
|
||||||
int main ()
|
int main (void)
|
||||||
{
|
{
|
||||||
const char *user, *tty;
|
const char *user, *tty;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user