From cd7f3fd83694724281068b2e5a44bec4c12c0ef8 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 28 Aug 2009 19:16:17 +0000 Subject: [PATCH] =?UTF-8?q?another=20int=E2=86=92bool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exec.c | 4 ++-- sh.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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);