summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 20:27:50 +0000
committermidipix <writeonce@midipix.org>2019-01-26 17:47:01 -0500
commit613385c24db2aeb655a8b16eada8029677dcb108 (patch)
tree5cfbf796e1e26f81703cb156d3f95a697ef789d0 /arch
parent51a0100813ebf2f40177b6139cd1429d62535bdb (diff)
downloadmmglue-613385c24db2aeb655a8b16eada8029677dcb108.tar.bz2
mmglue-613385c24db2aeb655a8b16eada8029677dcb108.tar.xz
psxglue.h: struct __psx_vtbl: .start_main function pointer: fixed signature.
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/psxglue.h2
-rw-r--r--arch/nt64/psxglue.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h
index 86214f5..30fb884 100644
--- a/arch/nt32/psxglue.h
+++ b/arch/nt32/psxglue.h
@@ -20,7 +20,7 @@ struct __ldso_vtbl {
struct __psx_vtbl {
void (*do_global_ctors_fn) ();
void (*do_global_dtors_fn) ();
- int (*start_main) (void *, int, char **, int (*)(void *, int, char **));
+ int (*start_main) (int (*)(int,char **,char **), int, char **, int (*)());
void (*convert_thread) (void);
void (*unmapself) (void *, size_t);
ssize_t (*log_output) (void *, ssize_t);
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h
index 86214f5..30fb884 100644
--- a/arch/nt64/psxglue.h
+++ b/arch/nt64/psxglue.h
@@ -20,7 +20,7 @@ struct __ldso_vtbl {
struct __psx_vtbl {
void (*do_global_ctors_fn) ();
void (*do_global_dtors_fn) ();
- int (*start_main) (void *, int, char **, int (*)(void *, int, char **));
+ int (*start_main) (int (*)(int,char **,char **), int, char **, int (*)());
void (*convert_thread) (void);
void (*unmapself) (void *, size_t);
ssize_t (*log_output) (void *, ssize_t);