summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3e991d1..d00230e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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';