summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--arch/nt32/psxdbg.h2
-rw-r--r--arch/nt64/psxdbg.h2
-rw-r--r--include/sys/debug.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/nt32/psxdbg.h b/arch/nt32/psxdbg.h
index 38c9fcd..48d275f 100644
--- a/arch/nt32/psxdbg.h
+++ b/arch/nt32/psxdbg.h
@@ -13,7 +13,7 @@ struct __dbg_vtbl {
int (*dbg_kill)(int);
int (*dbg_event_query_one)(int, struct __dbg_event *);
- int (*dbg_event_query_all)(int, struct __dbg_event[], int);
+ int (*dbg_event_query_all)(int, struct __dbg_event *, int);
int (*dbg_event_acquire)(int, struct __dbg_event *);
int (*dbg_event_respond)(int, struct __dbg_event *);
diff --git a/arch/nt64/psxdbg.h b/arch/nt64/psxdbg.h
index 38c9fcd..48d275f 100644
--- a/arch/nt64/psxdbg.h
+++ b/arch/nt64/psxdbg.h
@@ -13,7 +13,7 @@ struct __dbg_vtbl {
int (*dbg_kill)(int);
int (*dbg_event_query_one)(int, struct __dbg_event *);
- int (*dbg_event_query_all)(int, struct __dbg_event[], int);
+ int (*dbg_event_query_all)(int, struct __dbg_event *, int);
int (*dbg_event_acquire)(int, struct __dbg_event *);
int (*dbg_event_respond)(int, struct __dbg_event *);
diff --git a/include/sys/debug.h b/include/sys/debug.h
index 60c6c54..a483463 100644
--- a/include/sys/debug.h
+++ b/include/sys/debug.h
@@ -144,7 +144,7 @@ int __dbg_kill(int);
* of elements in the user-provided buffer.
**/
int __dbg_event_query_one(int, struct __dbg_event *);
-int __dbg_event_query_all(int, struct __dbg_event[], int);
+int __dbg_event_query_all(int, struct __dbg_event *, int);
/**
* first acquire (remove from the queue) the next pending debug event;