+/* vi: set sw=4 ts=4: */
/* Copyright (C) 2003 Manuel Novoa III
*
* Licensed under GPL v2, or later. See file LICENSE in this tarball.
*
*/
+#include "libbb.h"
#include <features.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <assert.h>
#include <ctype.h>
-#include "busybox.h"
-#include "pwd_.h"
-#include "grp_.h"
+
#include "shadow_.h"
#ifndef _PATH_SHADOW
break;
}
} else {
-#if 0
- if (i==5) { /* Support for old format. */
- while (isspace(*line)) ++line; /* glibc eats space here. */
- if (!*line) {
- ((struct spwd *) data)->sp_warn = -1;
- ((struct spwd *) data)->sp_inact = -1;
- ((struct spwd *) data)->sp_expire = -1;
- ((struct spwd *) data)->sp_flag = ~0UL;
- return 0;
- }
- }
-#endif
-
*((long *) p) = (long) strtoul(line, &endptr, 10);
if (endptr == line) {