libc: Make functions with no arguments be defined as type function(void)
Instead of type function().
This commit is contained in:
parent
3e2bebf0aa
commit
b0e071e964
@ -10,7 +10,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Returns the current program's thread identifier. */
|
||||
pid_t gettid();
|
||||
pid_t gettid(void);
|
||||
|
||||
/* Sleeps for ms milliseconds. */
|
||||
unsigned int msleep(unsigned int ms);
|
||||
|
@ -10,7 +10,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Aborts the program. */
|
||||
__lc_noreturn void abort();
|
||||
__lc_noreturn void abort(void);
|
||||
|
||||
/* Normally exits the program with the specified status code. */
|
||||
__lc_noreturn void exit(int status);
|
||||
|
Loading…
Reference in New Issue
Block a user