summaryrefslogtreecommitdiff
path: root/whoami.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /whoami.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'whoami.c')
-rw-r--r--whoami.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/whoami.c b/whoami.c
index 01dff81f9..84b27fe58 100644
--- a/whoami.c
+++ b/whoami.c
@@ -24,12 +24,6 @@
24#include <stdio.h> 24#include <stdio.h>
25#include <pwd.h> 25#include <pwd.h>
26 26
27static const char whoami_usage[] = "whoami\n"
28#ifndef BB_FEATURE_TRIVIAL_HELP
29 "\nPrints the user name associated with the current effective user id.\n"
30#endif
31 ;
32
33extern int whoami_main(int argc, char **argv) 27extern int whoami_main(int argc, char **argv)
34{ 28{
35 char *user = xmalloc(9); 29 char *user = xmalloc(9);