loader: Add void to function arguments
authorJohn Bauman <jbauman@google.com>
Fri, 2 Jun 2023 16:31:05 +0000 (16:31 +0000)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 2 Jun 2023 19:20:33 +0000 (13:20 -0600)
commit9ff7ab431add9f05ad9d34a377e903d58f726d61
tree3b9afce921025f6126fa032e4ed0d92fcb39ca7d
parentd3afd16e72173cc8d4f6c7f9a64c6594dff0fad6
loader: Add void to function arguments

UBSan was detecting a function type mismatch for these module
ctor/dtors since libc expects the function type to be void (*)(void)
rather than just void (*)().
loader/loader.c