diff options
author | mike <mike@FreeBSD.org> | 2001-10-04 04:42:03 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2001-10-04 04:42:03 +0000 |
commit | aebf871de59a562a14b033de866b42f4d197cc1e (patch) | |
tree | b2a23c2b1bc30b6c544fa96ef945f341d10d3120 /lib/libc/net/inet_ntoa.c | |
parent | 0a6d2bba3acb2eb785d51046ff48c6dc45019374 (diff) | |
download | FreeBSD-src-aebf871de59a562a14b033de866b42f4d197cc1e.zip FreeBSD-src-aebf871de59a562a14b033de866b42f4d197cc1e.tar.gz |
Include <string.h> to prototype strcpy(3). While I'm here, make use
of the new RCSID macros.
MFC after: 3 days
Diffstat (limited to 'lib/libc/net/inet_ntoa.c')
-rw-r--r-- | lib/libc/net/inet_ntoa.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/net/inet_ntoa.c b/lib/libc/net/inet_ntoa.c index c210545..fbd87fa 100644 --- a/lib/libc/net/inet_ntoa.c +++ b/lib/libc/net/inet_ntoa.c @@ -31,15 +31,16 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__RCSID("@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93"); +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> +#include <string.h> /* * Convert network-format internet address |