DragonFly BSD
DragonFly commits List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: sh: Fix duplicate prototypes for builtins.


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 21 Aug 2011 16:32:25 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]