summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/program_loading.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index e071db9729..ca61c169d7 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -104,14 +104,11 @@ struct payload {
void *entry;
};
-/*
- * Load payload into memory and return pointer to payload structure. Returns
- * NULL on error.
- */
-struct payload *payload_load(void);
+/* Load payload into memory in preparation to run. */
+void payload_load(void);
/* Run the loaded payload. */
-void payload_run(const struct payload *payload);
+void payload_run(void);
/* Mirror the payload to be loaded. */
void mirror_payload(struct payload *payload);