summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-06 12:42:33 +0000
committermidipix <writeonce@midipix.org>2019-06-06 12:42:33 +0000
commitc33a2266f2dbfd11e3659fddcafa8f6d02853cfa (patch)
treee70ae21363b43742673e4dd59eac3d123a94f512
parentb7fac7ddca058791e01d381d60fb5d6fbdec5116 (diff)
downloadmmglue-c33a2266f2dbfd11e3659fddcafa8f6d02853cfa.tar.bz2
mmglue-c33a2266f2dbfd11e3659fddcafa8f6d02853cfa.tar.xz
debug interfaces: __dbg_event_query_all(): updated interface signature.
-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;