diff options
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r-- | loginutils/getty.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 2d05d9a..ebb107d 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -16,19 +16,6 @@ * */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <string.h> -#include <sys/ioctl.h> -#include <errno.h> -#include <sys/stat.h> -#include <signal.h> -#include <fcntl.h> -#include <stdarg.h> -#include <ctype.h> -#include <getopt.h> -#include <termios.h> #include "busybox.h" #ifdef CONFIG_FEATURE_UTMP @@ -324,7 +311,7 @@ static void parse_args(int argc, char **argv, struct options *op) const char *p = op->initstring; char *q; - q = op->initstring = bb_xstrdup(op->initstring); + q = op->initstring = xstrdup(op->initstring); /* copy optarg into op->initstring decoding \ddd octal codes into chars */ while (*p) { @@ -858,7 +845,7 @@ int getty_main(int argc, char **argv) }; #ifdef DEBUGGING - dbf = bb_xfopen(DEBUGTERM, "w"); + dbf = xfopen(DEBUGTERM, "w"); { int i; |