another int→bool
This commit is contained in:
		
							
								
								
									
										4
									
								
								exec.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								exec.c
									
									
									
									
									
								
							| @@ -22,7 +22,7 @@ | |||||||
|  |  | ||||||
| #include "sh.h" | #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 **, | static int comexec(struct op *, struct tbl *volatile, const char **, | ||||||
|     int volatile, volatile int *); |     int volatile, volatile int *); | ||||||
| @@ -800,7 +800,7 @@ shcomexec(const char **wp) | |||||||
|  * is created if none is found. |  * is created if none is found. | ||||||
|  */ |  */ | ||||||
| struct tbl * | struct tbl * | ||||||
| findfunc(const char *name, uint32_t h, int create) | findfunc(const char *name, uint32_t h, bool create) | ||||||
| { | { | ||||||
| 	struct block *l; | 	struct block *l; | ||||||
| 	struct tbl *tp = NULL; | 	struct tbl *tp = NULL; | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								sh.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								sh.h
									
									
									
									
									
								
							| @@ -134,7 +134,7 @@ | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef EXTERN | #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 | #endif | ||||||
| #define MKSH_VERSION "R39 2009/08/08" | #define MKSH_VERSION "R39 2009/08/08" | ||||||
|  |  | ||||||
| @@ -1371,7 +1371,7 @@ int glob_str(char *, XPtrV *, int); | |||||||
| /* exec.c */ | /* exec.c */ | ||||||
| int execute(struct op * volatile, volatile int, volatile int * volatile); | int execute(struct op * volatile, volatile int, volatile int * volatile); | ||||||
| int shcomexec(const char **); | 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 *); | int define(const char *, struct op *); | ||||||
| void builtin(const char *, int (*)(const char **)); | void builtin(const char *, int (*)(const char **)); | ||||||
| struct tbl *findcom(const char *, int); | struct tbl *findcom(const char *, int); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user