sh: Fix duplicate prototypes for builtins.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 21:21:56 +0000 (14:21 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 21:21:56 +0000 (14:21 -0700)
commitc3e3bc7a3882f01b4fef7ae04a7a1794e1b81988
tree404008a1fa3a3477322c02f4d2d1301f896168b6
parent329310630e302987fe923eb19b075d3cdd16a9f6
sh: Fix duplicate prototypes for builtins.

Have mkbuiltins write the prototypes for the *cmd functions to
builtins.h instead of builtins.c and include builtins.h in more
.c files instead of duplicating prototypes for *cmd functions in
other headers.

Obtained-from:   FreeBSD 223060
24 files changed:
bin/sh/alias.c
bin/sh/alias.h
bin/sh/arith.h
bin/sh/arith_yacc.c
bin/sh/bltin/bltin.h
bin/sh/cd.c
bin/sh/cd.h
bin/sh/eval.h
bin/sh/exec.h
bin/sh/expand.c
bin/sh/expand.h
bin/sh/histedit.c
bin/sh/jobs.c
bin/sh/jobs.h
bin/sh/main.c
bin/sh/main.h
bin/sh/mkbuiltins
bin/sh/myhistedit.h
bin/sh/options.c
bin/sh/options.h
bin/sh/trap.c
bin/sh/trap.h
bin/sh/var.c
bin/sh/var.h