libc: Make functions with no arguments be defined as type function(void)

Instead of type function().
This commit is contained in:
apio 2022-10-15 11:39:13 +02:00
parent 3e2bebf0aa
commit b0e071e964
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ extern "C"
#endif #endif
/* Returns the current program's thread identifier. */ /* Returns the current program's thread identifier. */
pid_t gettid(); pid_t gettid(void);
/* Sleeps for ms milliseconds. */ /* Sleeps for ms milliseconds. */
unsigned int msleep(unsigned int ms); unsigned int msleep(unsigned int ms);

View File

@ -10,7 +10,7 @@ extern "C"
#endif #endif
/* Aborts the program. */ /* Aborts the program. */
__lc_noreturn void abort(); __lc_noreturn void abort(void);
/* Normally exits the program with the specified status code. */ /* Normally exits the program with the specified status code. */
__lc_noreturn void exit(int status); __lc_noreturn void exit(int status);