* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There

are no more needed.
This commit is contained in:
nekral-guest 2009-04-28 19:14:05 +00:00
parent b0c0a94c66
commit e6b23e1431
2 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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)
{