last: optional alternative sysv-like implementation
(by Patricia Muscalu <patricia.muscalu AT axis.com>) function old new delta last_main 448 917 +469 show_entry - 319 +319 packed_usage 24216 24268 +52 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 840/0) Total: 840 bytes
This commit is contained in:
@ -26,6 +26,12 @@
|
||||
#error struct utmp member char[] size(s) have changed!
|
||||
#endif
|
||||
|
||||
#if ENABLE_FEATURE_LAST_FANCY
|
||||
|
||||
#include "last_fancy.c"
|
||||
|
||||
#else
|
||||
|
||||
int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int last_main(int argc, char **argv ATTRIBUTE_UNUSED)
|
||||
{
|
||||
@ -92,3 +98,5 @@ int last_main(int argc, char **argv ATTRIBUTE_UNUSED)
|
||||
|
||||
fflush_stdout_and_exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user