diff toys/toysh.c @ 156:1e8f4b05cb65

Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment tweaks.
author Rob Landley <rob@landley.net>
date Thu, 15 Nov 2007 18:30:30 -0600
parents 99e651512aa4
children ad48dca1f4c5
line wrap: on
line diff
--- a/toys/toysh.c	Tue Nov 06 23:24:56 2007 +0000
+++ b/toys/toysh.c	Thu Nov 15 18:30:30 2007 -0600
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4:
- * 
+ *
  * toysh - toybox shell
  *
  * Copyright 2006 Rob Landley <rob@landley.net>
@@ -80,11 +80,11 @@
 	if (!cmdline) return 0;
 
 	if (CFG_TOYSH_JOBCTL) line->cmdline = cmdline;
-		
+
 	// Parse command into argv[]
 	for (;;) {
 		char *end;
-		
+
 		// Skip leading whitespace and detect end of line.
 		while (isspace(*start)) start++;
 		if (!*start || *start=='#') {
@@ -192,7 +192,7 @@
 }
 
 int exit_main(void)
-{	
+{
 	exit(*toys.optargs ? atoi(*toys.optargs) : 0);
 }
 
@@ -216,6 +216,6 @@
 			free(command);
 		}
 	}
-		
+
 	return 1;
 }