Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions offload/test/offloading/shared_lib_fp_mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

#include <stdio.h>

extern int func(); // Provided in liba.so, returns 42
typedef int (*fp_t)();
extern int func(void); // Provided in liba.so, returns 42
typedef int (*fp_t)(void);

int main() {
int x = 0;
Expand Down
2 changes: 1 addition & 1 deletion offload/test/offloading/static_linking.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int foo() {
}
#else
#include <stdio.h>
int foo();
int foo(void);

int main() {
int x = foo();
Expand Down
Loading