Deleted Added
full compact
inet_network.c (165903) inet_network.c (170244)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static const char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static const char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/lib/libc/inet/inet_network.c 165903 2007-01-09 00:28:16Z imp $");
34__FBSDID("$FreeBSD: head/lib/libc/inet/inet_network.c 170244 2007-06-03 17:20:27Z ume $");
35
36#include "port_before.h"
37
38#include <sys/types.h>
39#include <netinet/in.h>
40#include <arpa/inet.h>
41#include <ctype.h>
42
43#include "port_after.h"
44
35
36#include "port_before.h"
37
38#include <sys/types.h>
39#include <netinet/in.h>
40#include <arpa/inet.h>
41#include <ctype.h>
42
43#include "port_after.h"
44
45/*
45/*%
46 * Internet network address interpretation routine.
47 * The library routines call this routine to interpret
48 * network numbers.
49 */
50in_addr_t
51inet_network(cp)
52 const char *cp;
53{

--- 48 unchanged lines hidden (view full) ---

102}
103
104/*
105 * Weak aliases for applications that use certain private entry points,
106 * and fail to include <arpa/inet.h>.
107 */
108#undef inet_network
109__weak_reference(__inet_network, inet_network);
46 * Internet network address interpretation routine.
47 * The library routines call this routine to interpret
48 * network numbers.
49 */
50in_addr_t
51inet_network(cp)
52 const char *cp;
53{

--- 48 unchanged lines hidden (view full) ---

102}
103
104/*
105 * Weak aliases for applications that use certain private entry points,
106 * and fail to include <arpa/inet.h>.
107 */
108#undef inet_network
109__weak_reference(__inet_network, inet_network);
110
111/*! \file */