From a73ebf1e2cfe7f67c2a69f78ca15c754beca5cf0 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Thu, 10 Jun 2021 10:27:57 -0700 Subject: [PATCH] Fix ResumableAssertIsDebuggerAttached function to match prototype. --- Sources/ResumableAssert/ResumableAssert.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ResumableAssert/ResumableAssert.m b/Sources/ResumableAssert/ResumableAssert.m index 6ae9dc0..8540e90 100644 --- a/Sources/ResumableAssert/ResumableAssert.m +++ b/Sources/ResumableAssert/ResumableAssert.m @@ -27,7 +27,7 @@ void ResumableAssertDebugTrap() { #endif // RESUMABLE_ASSERT_DEBUG_TRAP } -int ResumableAssertIsDebuggerAttached() { +int ResumableAssertIsDebuggerAttached(void) { // See http://developer.apple.com/library/mac/#qa/qa1361/_index.html int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()}; struct kinfo_proc info;