summaryrefslogtreecommitdiff
path: root/kern/bootstrap.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-15 19:19:23 +0100
commitbe78a5c7937a31128a3624dcace9df23492866f9 (patch)
tree18fe5f79b66f47aef9658d788fea84ef425d8127 /kern/bootstrap.c
parent6ff7e82fab67f23f0aa4caa18b886ce03c060f4d (diff)
Declare void argument lists
Diffstat (limited to 'kern/bootstrap.c')
-rw-r--r--kern/bootstrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 41b02fe..c0576b7 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -107,7 +107,7 @@ task_insert_send_right(
return name;
}
-void bootstrap_create()
+void bootstrap_create(void)
{
int compat;
int n = 0;
@@ -642,7 +642,7 @@ build_args_and_stack(struct exec_info *boot_exec_info,
static void
-user_bootstrap_compat()
+user_bootstrap_compat(void)
{
exec_info_t boot_exec_info;
@@ -744,7 +744,7 @@ boot_script_exec_cmd (void *hook, task_t task, char *path, int argc,
return 0;
}
-static void user_bootstrap()
+static void user_bootstrap(void)
{
struct user_bootstrap_info *info = current_thread()->saved.other;
exec_info_t boot_exec_info;