diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-22 21:56:26 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-22 21:56:26 +0000 |
commit | 69d5ba2f95287a59fb31583b014474859b22025b (patch) | |
tree | 5743f607901b6f3f6a9d2e4b0be06489b8cf109d /miscutils/last.c | |
parent | a959a2abdd5bef3dadcf653665831a14f404240c (diff) | |
download | busybox-w32-69d5ba2f95287a59fb31583b014474859b22025b.tar.gz busybox-w32-69d5ba2f95287a59fb31583b014474859b22025b.tar.bz2 busybox-w32-69d5ba2f95287a59fb31583b014474859b22025b.zip |
- untangle the implementation of the small and huge last applets
Diffstat (limited to 'miscutils/last.c')
-rw-r--r-- | miscutils/last.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index 2199d7524..af92e50cf 100644 --- a/miscutils/last.c +++ b/miscutils/last.c | |||
@@ -26,12 +26,6 @@ | |||
26 | #error struct utmp member char[] size(s) have changed! | 26 | #error struct utmp member char[] size(s) have changed! |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | #if ENABLE_FEATURE_LAST_FANCY | ||
30 | |||
31 | #include "last_fancy.c" | ||
32 | |||
33 | #else | ||
34 | |||
35 | #if EMPTY != 0 || RUN_LVL != 1 || BOOT_TIME != 2 || NEW_TIME != 3 || \ | 29 | #if EMPTY != 0 || RUN_LVL != 1 || BOOT_TIME != 2 || NEW_TIME != 3 || \ |
36 | OLD_TIME != 4 | 30 | OLD_TIME != 4 |
37 | #error Values for the ut_type field of struct utmp changed | 31 | #error Values for the ut_type field of struct utmp changed |
@@ -131,5 +125,3 @@ int last_main(int argc, char **argv ATTRIBUTE_UNUSED) | |||
131 | 125 | ||
132 | fflush_stdout_and_exit(EXIT_SUCCESS); | 126 | fflush_stdout_and_exit(EXIT_SUCCESS); |
133 | } | 127 | } |
134 | |||
135 | #endif | ||