diff options
author | kx <kx@radix.pro> | 2022-09-28 17:07:19 +0300 |
---|---|---|
committer | kx <kx@radix.pro> | 2022-09-28 17:07:19 +0300 |
commit | 5780fdaca5a2cd49c8218aec48cb6647374089ec (patch) | |
tree | ef5c36583f70cf1e24d6d3cf257beb0e832c9d98 /src/main.c | |
parent | d05678abe9422b72583ab3a90c0c6c7db392ca83 (diff) | |
download | sila-shell-5780fdaca5a2cd49c8218aec48cb6647374089ec.tar.xz |
users list command implementation
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,6 +18,8 @@ #include <completion.h> #include <commands.h> +#include <shell.h> +#include <users.h> char *progname; /* The name of this program, as taken from argv[0]. */ int done; /* When non-zero, this global means the user is done using this program. */ @@ -256,7 +258,7 @@ char *stripwhite( char *string ) if( *s == 0 ) return( s ); - t = s + strlen (s) - 1; + t = s + strlen( s ) - 1; while( t > s && whitespace( *t ) ) t--; *++t = '\0'; |