- untangle the implementation of the small and huge last applets

This commit is contained in:
Bernhard Reutner-Fischer
2008-05-22 21:56:26 +00:00
parent a959a2abdd
commit 69d5ba2f95
4 changed files with 22 additions and 12 deletions

View File

@ -26,12 +26,6 @@
#error struct utmp member char[] size(s) have changed!
#endif
#if ENABLE_FEATURE_LAST_FANCY
#include "last_fancy.c"
#else
#if EMPTY != 0 || RUN_LVL != 1 || BOOT_TIME != 2 || NEW_TIME != 3 || \
OLD_TIME != 4
#error Values for the ut_type field of struct utmp changed
@ -131,5 +125,3 @@ int last_main(int argc, char **argv ATTRIBUTE_UNUSED)
fflush_stdout_and_exit(EXIT_SUCCESS);
}
#endif