From 23bce072c0cd406ddb93394136219c27a6211531 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 23 Jun 2024 19:48:22 +0200 Subject: [PATCH] Reject the obsolescent inet_addr and inet_ntoa. --- libc/include/arpa/inet.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libc/include/arpa/inet.h b/libc/include/arpa/inet.h index 6b30b90a..45b30cd3 100644 --- a/libc/include/arpa/inet.h +++ b/libc/include/arpa/inet.h @@ -34,12 +34,6 @@ const char* inet_ntop(int, const void* __restrict, char* __restrict, socklen_t); int inet_pton(int, const char* __restrict, void* __restrict); #endif -/* Functions copied from elsewhere. */ -#if __USE_SORTIX -/* TODO: int inet_aton(const char*, struct in_addr*); */ -/* TODO: char* inet_neta(in_addr_t, char*, size_t); */ -#endif - #ifdef __cplusplus } /* extern "C" */ #endif