@@ -11,10 +11,10 @@ extern "C" {
11
11
12
12
// Returns true if the current browser is able to spawn threads with pthread_create(), and the compiled page was built with
13
13
// threading support enabled. If this returns 0, calls to pthread_create() will fail with return code EAGAIN.
14
- int emscripten_has_threading_support ();
14
+ int emscripten_has_threading_support (void );
15
15
16
16
// Returns the number of logical cores on the system.
17
- int emscripten_num_logical_cores ();
17
+ int emscripten_num_logical_cores (void );
18
18
19
19
// Configures the number of logical cores on the system. This can be called at startup
20
20
// to specify the number of cores emscripten_num_logical_cores() reports. The
@@ -52,7 +52,7 @@ float emscripten_atomic_store_f32(void/*float*/ *addr, float val);
52
52
uint64_t emscripten_atomic_store_u64 (void /*uint64_t*/ * addr , uint64_t val ); // Emulated with locks, very slow!!
53
53
double emscripten_atomic_store_f64 (void /*double*/ * addr , double val ); // Emulated with locks, very slow!!
54
54
55
- void emscripten_atomic_fence ();
55
+ void emscripten_atomic_fence (void );
56
56
57
57
// Each of the functions below (add, sub, and, or, xor) returns the value that was stored to memory after the operation occurred.
58
58
uint8_t emscripten_atomic_add_u8 (void /*uint8_t*/ * addr , uint8_t val );
@@ -181,7 +181,7 @@ int emscripten_is_main_browser_thread(void);
181
181
// Call this in the body of all lock-free atomic (cas) loops that the main thread might enter
182
182
// which don't otherwise call to any pthread api calls (mutexes) or C runtime functions
183
183
// that are considered cancellation points.
184
- void emscripten_main_thread_process_queued_calls ();
184
+ void emscripten_main_thread_process_queued_calls (void );
185
185
186
186
// Direct syscall access, second argument is a varargs pointer. used in proxying
187
187
int emscripten_syscall (int , void * );
0 commit comments