1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00
serenity/Userland/Libraries/LibC/sys
Daniel Bertalan b9c753f6f9 LibC+LibDl: Declare functions taking no arguments as taking void
In C++, a function declaration with an empty parameter list means that
the function takes no arguments. In C, however, it means that the
function takes an unspecified number of parameters.

What we did previously was therefore non-conforming. This caused a
config check to fail in the curl port, as it was able to redeclare
`rand` as taking an int parameter.
2022-01-08 19:22:00 +01:00
..
arch LibC: Make regs.h work with compilers without concepts 2021-12-29 03:17:41 -08:00
auxv.cpp LibC+LibELF: Move getauxval and AT_* flags to sys/auxv.h 2021-10-28 11:24:36 +02:00
auxv.h LibC+LibDl: Declare functions taking no arguments as taking void 2022-01-08 19:22:00 +01:00
cdefs.h LibC: Remove commented-out main() prototype from sys/cdefs.h 2021-11-21 20:22:48 +01:00
file.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
file.h LibC: Implement flock(2) using fcntl's F_SETLK 2021-07-20 17:44:30 +04:30
internals.h LibC+LibDl: Declare functions taking no arguments as taking void 2022-01-08 19:22:00 +01:00
ioctl.h Kernel+LibC: Implement FIONREAD ioctl 2021-08-22 10:29:06 +02:00
ioctl_numbers.h Kernel: Add the SIOCATMARK ioctl request macro 2021-12-05 12:53:29 +01:00
kcov.h Kernel: Add option to build with coverage instrumentation and KCOV 2021-07-26 17:40:28 +02:00
mman.cpp Kernel+UE+LibC: Store address as void* in SC_m{re,}map_params 2021-12-23 23:08:10 +01:00
mman.h LibC: Add support for posix_madvise(..) 2021-12-22 13:28:13 -08:00
param.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
poll.h LibC: Add <sys/poll.h> as an alias for <poll.h> 2021-08-22 10:29:06 +02:00
prctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
prctl.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
prctl_numbers.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ptrace.cpp LibCore: Implement new ptrace_peekbuf wrapper for PT_PEEKBUF syscall 2021-12-05 22:59:09 +01:00
ptrace.h Kernel+LibC: Fix ptrace for 64-bit 2021-11-20 21:22:24 +00:00
resource.h LibC: Add getpriority() and setpriority() stubs 2021-09-23 18:51:21 +02:00
select.cpp LibC: Add POSIX spec comments for select APIs 2021-12-21 18:16:48 -08:00
select.h LibC: Make sure the definition for struct timeval is available 2021-06-16 20:08:13 +02:00
socket.cpp LibC: Add POSIX spec comments for socket APIs 2021-12-21 18:16:48 -08:00
socket.h Kernel+LibC: Share definitions for sys/socket.h and sys/un.h 2021-08-14 19:58:11 +02:00
stat.h Kernel+LibC: Share definitions for time.h and sys/stat.h 2021-08-14 19:58:11 +02:00
statvfs.cpp LibC: Add functions for the new statvfs syscalls 2021-05-19 21:33:29 +02:00
statvfs.h Kernel+LibC: Share definitions for sys/statvfs.h 2021-08-14 19:58:11 +02:00
sysmacros.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
time.h Kernel+LibC: Share definitions for sys/time.h 2021-08-14 19:58:11 +02:00
times.h Kernel+LibC: Share definitions for sys/times.h 2021-08-14 19:58:11 +02:00
ttydefaults.h Userland: Locally suppress -Wc99-designator and re-enable globally 2022-01-04 07:51:31 +00:00
types.h Kernel+LibC: Share definitions in fcntl.h and sys/types.h 2021-08-14 19:58:11 +02:00
uio.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uio.h Kernel+LibC: Share definitions for sys/uio.h 2021-08-14 19:58:11 +02:00
un.h Kernel+LibC: Share definitions for sys/socket.h and sys/un.h 2021-08-14 19:58:11 +02:00
utsname.h Kernel+LibC: Share definitions for utsname.h 2021-08-14 19:58:11 +02:00
wait.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
wait.h Kernel+LibC: Share definitions for sys/wait.h 2021-08-14 19:58:11 +02:00
xattr.cpp Everywhere: Fix more Copyright header inconsistencies 2021-10-04 11:10:09 +01:00
xattr.h Everywhere: Fix more Copyright header inconsistencies 2021-10-04 11:10:09 +01:00