Loading...
--- Libc/Libc-1725.40.4/net/FreeBSD/inet_network.c
+++ Libc/Libc-583/net/FreeBSD/inet_network.c
@@ -27,15 +27,8 @@
* SUCH DAMAGE.
*/
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wcomma"
-
#if defined(LIBC_SCCS) && !defined(lint)
static const char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
-
-/* the algorithms only can deal with ASCII, so we optimize for it */
-#define USE_ASCII
-
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/lib/libc/inet/inet_network.c,v 1.5 2008/01/14 22:55:20 cperciva Exp $");
@@ -55,7 +48,8 @@
* network numbers.
*/
in_addr_t
-inet_network(const char *cp)
+inet_network(cp)
+ const char *cp;
{
in_addr_t val, base, n;
char c;
@@ -114,5 +108,4 @@
#undef inet_network
__weak_reference(__inet_network, inet_network);
-#pragma clang diagnostic pop
/*! \file */