From ceb26469f0251263e37475d9ab6aa76eec41b012 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 29 May 2002 02:42:34 +0000 Subject: 2002-05-28 Roland McGrath * boot_script.c (boot_script_set_variable): Values int -> integer_t. (boot_script_define_function): Likewise. (boot_script_parse_line): Likewise. (struct sym, struct arg): Likewise. (boot_script_exec): Likewise. (builtin_symbols): Likewise. * boot.c (main): Likewise. * boot_script.h: Update decls. --- boot/boot_script.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'boot/boot_script.h') diff --git a/boot/boot_script.h b/boot/boot_script.h index c436ac21..62458693 100644 --- a/boot/boot_script.h +++ b/boot/boot_script.h @@ -102,11 +102,12 @@ int boot_script_exec (void); /* Create an entry in the symbol table for variable NAME, whose type is TYPE and value is VAL. Returns 0 on success, non-zero otherwise. */ -int boot_script_set_variable (const char *name, int type, int val); +int boot_script_set_variable (const char *name, int type, integer_t val); /* Define the function NAME, which will return type RET_TYPE. */ int boot_script_define_function (const char *name, int ret_type, - int (*func) (const struct cmd *cmd, int *val)); + int (*func) (const struct cmd *cmd, + integer_t *val)); /* Returns a string describing the error ERR. */ char *boot_script_error_string (int err); -- cgit v1.2.3