* libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
for strtol and errno, and do not include "defines.h" (not needed).
This commit is contained in:
parent
77459dc27d
commit
1675ca3378
@ -1,3 +1,8 @@
|
|||||||
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* libmisc/getlong.c: Include both <stdlib.h> and <errno.h> needed
|
||||||
|
for strtol and errno, and do not include "defines.h" (not needed).
|
||||||
|
|
||||||
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
|
* src/useradd.c, src/usermod.c, libmisc/getgr_nam_gid.c,
|
||||||
|
@ -31,8 +31,9 @@
|
|||||||
|
|
||||||
#ident "$Id$"
|
#ident "$Id$"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
#include "prototypes.h"
|
#include "prototypes.h"
|
||||||
#include "defines.h"
|
|
||||||
|
|
||||||
int getlong (const char *numstr, long int *result)
|
int getlong (const char *numstr, long int *result)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user