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
2 changes: 1 addition & 1 deletion core/shared/platform/alios/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ typedef void *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/android/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/cosmopolitan/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/darwin/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/esp-idf/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/freebsd/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ os_set_signal_number_for_blocking_op(int signo);
typedef int os_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/linux-sgx/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/linux/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ typedef DIR *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/riot/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int isnan(double x);
#endif

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/rt-thread/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ typedef void *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/vxworks/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ os_sigreturn();
#define os_getpagesize getpagesize

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/windows/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ typedef uint32_t os_raw_file_handle;
#endif

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return NULL;
}
Expand Down
2 changes: 1 addition & 1 deletion core/shared/platform/zephyr/platform_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ typedef void *os_dir_stream;
typedef int os_raw_file_handle;

static inline os_file_handle
os_get_invalid_handle()
os_get_invalid_handle(void)
{
return -1;
}
Expand Down