* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
are no more needed.
This commit is contained in:
parent
b0c0a94c66
commit
e6b23e1431
@ -1,4 +1,9 @@
|
||||
2009-04-27 Nicolas François <nicolas.francois@centraliens.net>
|
||||
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
|
||||
are no more needed.
|
||||
|
||||
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/limits.c: Replace strtol() by getlong().
|
||||
* libmisc/limits.c: Replace HAVE_UTMPX_H by USE_UTMPX.
|
||||
|
@ -45,11 +45,6 @@
|
||||
#include <ctype.h>
|
||||
#include "defines.h"
|
||||
#include "chkname.h"
|
||||
#if HAVE_UTMPX_H
|
||||
#include <utmpx.h>
|
||||
#else
|
||||
#include <utmp.h>
|
||||
#endif
|
||||
|
||||
static bool is_valid_name (const char *name)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user