src/uid_wrapper.c: remove unused UWRAP_LIBSOCKET and UWRAP_LIBNSL
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Nov 2022 19:40:44 +0000 (20:40 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 17 Jan 2023 13:22:25 +0000 (14:22 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/uid_wrapper.c

index f04642af11a143a9e610b2b31225edd8012a1a81..20dc437dc738193b9d49eb6b6bcce83e39f4e279 100644 (file)
@@ -396,8 +396,6 @@ void uwrap_destructor(void) DESTRUCTOR_ATTRIBUTE;
 
 enum uwrap_lib {
     UWRAP_LIBC,
-    UWRAP_LIBNSL,
-    UWRAP_LIBSOCKET,
     UWRAP_LIBPTHREAD,
 };
 
@@ -430,8 +428,6 @@ static void *uwrap_load_lib_handle(enum uwrap_lib lib)
 #endif
 
        switch (lib) {
-       case UWRAP_LIBNSL:
-       case UWRAP_LIBSOCKET:
        case UWRAP_LIBC:
                handle = uwrap.libc.handle;
                if (handle == NULL) {