mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Everywhere: void arguments to C functions
Problem: - C functions with no arguments require a single `void` in the argument list. Solution: - Put the `void` in the argument list of functions in C header files.
This commit is contained in:
parent
b990fc5d3a
commit
b2316701a8
14 changed files with 29 additions and 29 deletions
|
@ -7,8 +7,8 @@ geteuid, getegid - get effective user / group id
|
|||
```**c++
|
||||
#include <unistd.h>
|
||||
|
||||
uid_t geteuid();
|
||||
gid_t getegid();
|
||||
uid_t geteuid(void);
|
||||
gid_t getegid(void);
|
||||
```
|
||||
|
||||
## Description
|
||||
|
|
|
@ -7,8 +7,8 @@ getuid, getgid - get real user / group id
|
|||
```**c++
|
||||
#include <unistd.h>
|
||||
|
||||
uid_t getuid();
|
||||
gid_t getgid();
|
||||
uid_t getuid(void);
|
||||
gid_t getgid(void);
|
||||
```
|
||||
|
||||
## Description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue