Ver Fonte

Kernel: Remove EWHYTHO error code :^)

This error code was a hack for catching error handling mistakes in the
kernel. It's no longer used anywhere.
Andreas Kling há 3 anos atrás
pai
commit
95df924e0e

+ 0 - 1
Kernel/API/POSIX/errno.h

@@ -51,7 +51,6 @@
     E(EAFNOSUPPORT, "Address family not supported")                   \
     E(ENOTSOCK, "Not a socket")                                       \
     E(EADDRINUSE, "Address in use")                                   \
-    E(EWHYTHO, "Failed without setting an error code (bug!)")         \
     E(ENOTEMPTY, "Directory not empty")                               \
     E(EDOM, "Math argument out of domain")                            \
     E(ECONNREFUSED, "Connection refused")                             \

+ 0 - 1
Userland/Libraries/LibC/errno_codes.h

@@ -51,7 +51,6 @@
 #define EAFNOSUPPORT EAFNOSUPPORT
 #define ENOTSOCK ENOTSOCK
 #define EADDRINUSE EADDRINUSE
-#define EWHYTHO EWHYTHO
 #define ENOTEMPTY ENOTEMPTY
 #define EDOM EDOM
 #define ECONNREFUSED ECONNREFUSED

+ 0 - 1
Userland/Utilities/strace.cpp

@@ -85,7 +85,6 @@ HANDLE(ENOTIMPL)
 HANDLE(EAFNOSUPPORT)
 HANDLE(ENOTSOCK)
 HANDLE(EADDRINUSE)
-HANDLE(EWHYTHO)
 HANDLE(ENOTEMPTY)
 HANDLE(EDOM)
 HANDLE(ECONNREFUSED)