aboutsummaryrefslogtreecommitdiff
path: root/boot/boot_script.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-29 02:42:34 +0000
committerRoland McGrath <roland@gnu.org>2002-05-29 02:42:34 +0000
commitceb26469f0251263e37475d9ab6aa76eec41b012 (patch)
treebc19f556c2c37377f7564922a7be59338534c137 /boot/boot_script.h
parent96c0f524017cc78cfdf4a0cdb4cfcfdede276342 (diff)
downloadhurd-ceb26469f0251263e37475d9ab6aa76eec41b012.tar.gz
hurd-ceb26469f0251263e37475d9ab6aa76eec41b012.tar.bz2
hurd-ceb26469f0251263e37475d9ab6aa76eec41b012.zip
2002-05-28 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'boot/boot_script.h')
-rw-r--r--boot/boot_script.h5
1 files changed, 3 insertions, 2 deletions
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);