git: sh: Fix duplicate prototypes for builtins.
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:39 PDT 2011
commit c3e3bc7a3882f01b4fef7ae04a7a1794e1b81988
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date: Sun Aug 21 14:21:56 2011 -0700
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
Summary of changes:
bin/sh/alias.c | 3 ++-
bin/sh/alias.h | 4 +---
bin/sh/arith.h | 3 +--
bin/sh/arith_yacc.c | 1 +
bin/sh/bltin/bltin.h | 7 ++-----
bin/sh/cd.c | 3 ++-
bin/sh/cd.h | 4 +---
bin/sh/eval.h | 11 +----------
bin/sh/exec.h | 4 +---
bin/sh/expand.c | 3 ++-
bin/sh/expand.h | 3 +--
bin/sh/histedit.c | 3 ++-
bin/sh/jobs.c | 3 ++-
bin/sh/jobs.h | 7 +------
bin/sh/main.c | 3 ++-
bin/sh/main.h | 4 +---
bin/sh/mkbuiltins | 10 +++++-----
bin/sh/myhistedit.h | 4 +---
bin/sh/options.c | 3 ++-
bin/sh/options.h | 5 +----
bin/sh/trap.c | 3 ++-
bin/sh/trap.h | 3 +--
bin/sh/var.c | 3 ++-
bin/sh/var.h | 6 +-----
24 files changed, 38 insertions(+), 65 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3e3bc7a3882f01b4fef7ae04a7a1794e1b81988
--
DragonFly BSD source repository
More information about the Commits
mailing list