From 16aaaa19a3ef4220726007d3e644ced0c9e06513 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 9 Sep 2019 01:08:34 +0200 Subject: Allow referencing code in imported file (right now for function calls, allow calling a function in another file) --- include/std/thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/std/thread.h') diff --git a/include/std/thread.h b/include/std/thread.h index 2765204..ae8fe39 100644 --- a/include/std/thread.h +++ b/include/std/thread.h @@ -43,9 +43,9 @@ CHECK_RESULT int amal_thread_deinit(amal_thread *self); CHECK_RESULT int amal_thread_detach(amal_thread *self); CHECK_RESULT int amal_thread_join(amal_thread *self, void **result); -bool amal_thread_is_main(); +bool amal_thread_is_main(void); /* Returns 0 if the number of usable threads is unknown */ -int amal_get_usable_thread_count(); +int amal_get_usable_thread_count(void); CHECK_RESULT int amal_mutex_init(amal_mutex *self); void amal_mutex_deinit(amal_mutex *self); -- cgit v1.2.3