diff --git a/exec.c b/exec.c index b9a4c5b..1672791 100644 --- a/exec.c +++ b/exec.c @@ -22,7 +22,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.61 2009/08/28 18:53:57 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.62 2009/08/28 19:16:17 tg Exp $"); static int comexec(struct op *, struct tbl *volatile, const char **, int volatile, volatile int *); @@ -800,7 +800,7 @@ shcomexec(const char **wp) * is created if none is found. */ struct tbl * -findfunc(const char *name, uint32_t h, int create) +findfunc(const char *name, uint32_t h, bool create) { struct block *l; struct tbl *tp = NULL; diff --git a/sh.h b/sh.h index d3e8f89..65eda83 100644 --- a/sh.h +++ b/sh.h @@ -134,7 +134,7 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.325 2009/08/28 18:59:01 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.326 2009/08/28 19:16:16 tg Exp $"); #endif #define MKSH_VERSION "R39 2009/08/08" @@ -1371,7 +1371,7 @@ int glob_str(char *, XPtrV *, int); /* exec.c */ int execute(struct op * volatile, volatile int, volatile int * volatile); int shcomexec(const char **); -struct tbl *findfunc(const char *, uint32_t, int); +struct tbl *findfunc(const char *, uint32_t, bool); int define(const char *, struct op *); void builtin(const char *, int (*)(const char **)); struct tbl *findcom(const char *, int);