aboutsummaryrefslogtreecommitdiff
path: root/boot/boot_script.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:31:22 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:41:45 +0200
commit75f76d10aad328a1af5961cb365a2b4325b98d8e (patch)
tree9072fb9c33576788ebe2f52afbeae7d0b2ecba31 /boot/boot_script.h
parent202585da4315df1c68e6619d8097b06aaac98bbc (diff)
downloadhurd-75f76d10aad328a1af5961cb365a2b4325b98d8e.tar.gz
hurd-75f76d10aad328a1af5961cb365a2b4325b98d8e.tar.bz2
hurd-75f76d10aad328a1af5961cb365a2b4325b98d8e.zip
boot: Port to x64_64
Message-Id: <20230508213136.608575-28-bugaevc@gmail.com>
Diffstat (limited to 'boot/boot_script.h')
-rw-r--r--boot/boot_script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/boot_script.h b/boot/boot_script.h
index da52e6f0..045dc949 100644
--- a/boot/boot_script.h
+++ b/boot/boot_script.h
@@ -98,12 +98,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, integer_t val);
+int boot_script_set_variable (const char *name, int type, intptr_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,
- integer_t *val));
+ intptr_t *val));
/* Returns a string describing the error ERR. */
char *boot_script_error_string (int err);