summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_shell.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
committerphk <phk@FreeBSD.org>1994-09-25 19:34:02 +0000
commitf73f35898343587c73fd60422f7c2b15d42bae85 (patch)
tree2bdcafaa0162204e5a4853957c908b232cb276c8 /sys/kern/imgact_shell.c
parent3346279530bc82ada4f70172db34ce0ddbb269bf (diff)
downloadFreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.zip
FreeBSD-src-f73f35898343587c73fd60422f7c2b15d42bae85.tar.gz
While in the real world, I had a bad case of being swapped out for a lot of
cycles. While waiting there I added a lot of the extra ()'s I have, (I have never used LISP to any extent). So I compiled the kernel with -Wall and shut up a lot of "suggest you add ()'s", removed a bunch of unused var's and added a couple of declarations here and there. Having a lap-top is highly recommended. My kernel still runs, yell at me if you kernel breaks.
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r--sys/kern/imgact_shell.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 2884231..8340221 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: imgact_shell.c,v 1.4 1994/08/13 03:50:23 wollman Exp $
+ * $Id: imgact_shell.c,v 1.5 1994/08/18 22:34:56 wollman Exp $
*/
#include <sys/param.h>
@@ -57,9 +57,7 @@ exec_shell_imgact(iparams)
{
const char *image_header = iparams->image_header;
const char *ihp, *line_endp;
- int length;
char *interp;
- char **argv;
/* a shell script? */
if (((short *) image_header)[0] != SHELLMAGIC)
OpenPOWER on IntegriCloud