Fixed warning "A function declaration without a prototype is deprecated in all versions of C"

This commit is contained in:
Sam Lantinga committed 2023-05-17 12:58:00 -07:00
1 parent c699f3d1d8
commit 26e780bc9e
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -503,7 +503,7 @@ int HID_API_EXPORT hid_exit(void)
return 0;
}
static void process_pending_events() {
static void process_pending_events(void) {
SInt32 res;
do {
res = CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.001, FALSE);