diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/last.c | 2 | ||||
| -rw-r--r-- | miscutils/time.c | 14 |
2 files changed, 2 insertions, 14 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index 6e35879f3..9f9f639f2 100644 --- a/miscutils/last.c +++ b/miscutils/last.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2003-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 2003-2004 by Erik Andersen <andersen@codepoet.org> |
| 6 | * | 6 | * |
| 7 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 7 | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include "busybox.h" | 10 | #include "busybox.h" |
diff --git a/miscutils/time.c b/miscutils/time.c index 8c7419b58..3f1451c83 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | /* `time' utility to display resource usage of processes. | 2 | /* `time' utility to display resource usage of processes. |
| 3 | Copyright (C) 1990, 91, 92, 93, 96 Free Software Foundation, Inc. | 3 | Copyright (C) 1990, 91, 92, 93, 96 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 5 | Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| 6 | */ | 6 | */ |
| 7 | /* Originally written by David Keppel <pardo@cs.washington.edu>. | 7 | /* Originally written by David Keppel <pardo@cs.washington.edu>. |
| 8 | Heavily modified by David MacKenzie <djm@gnu.ai.mit.edu>. | 8 | Heavily modified by David MacKenzie <djm@gnu.ai.mit.edu>. |
| @@ -10,20 +10,8 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include "busybox.h" | 12 | #include "busybox.h" |
| 13 | #include <stdlib.h> | ||
| 14 | #include <stdio.h> | ||
| 15 | #include <signal.h> | ||
| 16 | #include <errno.h> | ||
| 17 | #include <getopt.h> | ||
| 18 | #include <string.h> | ||
| 19 | #include <limits.h> | ||
| 20 | #include <unistd.h> | ||
| 21 | #include <sys/types.h> /* For pid_t. */ | ||
| 22 | #include <sys/wait.h> | ||
| 23 | #include <sys/param.h> /* For getpagesize, maybe. */ | ||
| 24 | 13 | ||
| 25 | #define TV_MSEC tv_usec / 1000 | 14 | #define TV_MSEC tv_usec / 1000 |
| 26 | #include <sys/resource.h> | ||
| 27 | 15 | ||
| 28 | /* Information on the resources used by a child process. */ | 16 | /* Information on the resources used by a child process. */ |
| 29 | typedef struct { | 17 | typedef struct { |
