diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2020-12-24 08:41:54 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-26 10:10:27 +0100 |
commit | b2316701a82561cf4bcd617fe69ea7aa9b80a80a (patch) | |
tree | a8dd7a858892c8cd81328b472d2fbb1dbf0b49dc /Base/usr/share/man/man2/getuid.md | |
parent | b990fc5d3af2d48138aa2d6b6ed00a8cc78fe7a3 (diff) | |
download | serenity-b2316701a82561cf4bcd617fe69ea7aa9b80a80a.zip |
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.
Diffstat (limited to 'Base/usr/share/man/man2/getuid.md')
-rw-r--r-- | Base/usr/share/man/man2/getuid.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Base/usr/share/man/man2/getuid.md b/Base/usr/share/man/man2/getuid.md index 6ae1ad03b5..562cb50801 100644 --- a/Base/usr/share/man/man2/getuid.md +++ b/Base/usr/share/man/man2/getuid.md @@ -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 |