summaryrefslogtreecommitdiff
path: root/boot/boot_script.h
diff options
context:
space:
mode:
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);