diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-06 18:45:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-06 18:45:04 +0000 |
commit | 815943042513d5a1556193c708240308f711e32c (patch) | |
tree | ea1fcee0e59066b521f4dec3bab6d17c0fdf966b /sys/stand/boot/cmd.h | |
parent | 54363a745c2c696c69d8d1cc132acb4662b14c96 (diff) |
cmd is global anyways, don't pass it to handlers
add echo command
Diffstat (limited to 'sys/stand/boot/cmd.h')
-rw-r--r-- | sys/stand/boot/cmd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/stand/boot/cmd.h b/sys/stand/boot/cmd.h index 7682af1dd25..a50ec4f4cde 100644 --- a/sys/stand/boot/cmd.h +++ b/sys/stand/boot/cmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.h,v 1.5 1997/04/26 17:50:07 mickey Exp $ */ +/* $OpenBSD: cmd.h,v 1.6 1997/08/06 18:45:03 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -46,7 +46,8 @@ struct cmd_state { int argc; char *argv[8]; /* XXX i hope this is enough */ }; +extern struct cmd_state cmd; -int getcmd __P((register struct cmd_state *)); -int read_conf __P((register struct cmd_state *)); +int getcmd __P((void)); +int read_conf __P((void)); |