summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-01-07 14:23:02 -0700
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-21 10:43:59 -0700
commitc87557e9c1865fa1a6440de34ff6ce6fc858a2b7 (patch)
tree56b0c9037c9bce6e9eba78db957dc0aed7a6c244 /Userland/Libraries/LibC
parentad30b8c4477877c676b9c759c4714f5c5d6742e4 (diff)
downloadserenity-c87557e9c1865fa1a6440de34ff6ce6fc858a2b7.zip
Kernel+Libraries: Don't include limits.h from LibELF/Validation.h
The fallout of this is that Kernel/Syscalls/execve.cpp doesn't have access to ARG_MAX anymore, so move that definition to Kernel/API as well
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/limits.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibC/limits.h b/Userland/Libraries/LibC/limits.h
index 4be62111f9..aa7e3138ab 100644
--- a/Userland/Libraries/LibC/limits.h
+++ b/Userland/Libraries/LibC/limits.h
@@ -62,8 +62,6 @@
#define LLONG_WIDTH 64
#define ULLONG_WIDTH 64
-#define ARG_MAX 65536
-
#define SSIZE_MAX LONG_MAX
#define LINK_MAX 4096