git: sh: Fix duplicate prototypes for builtins.

看板DFBSD_commit作者時間14年前 (2011/08/22 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit c3e3bc7a3882f01b4fef7ae04a7a1794e1b81988 Author: Peter Avalos <pavalos@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
文章代碼(AID): #1EKPnHCQ (DFBSD_commit)