summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-10-04 04:42:03 +0000
committermike <mike@FreeBSD.org>2001-10-04 04:42:03 +0000
commitaebf871de59a562a14b033de866b42f4d197cc1e (patch)
treeb2a23c2b1bc30b6c544fa96ef945f341d10d3120 /lib/libc
parent0a6d2bba3acb2eb785d51046ff48c6dc45019374 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libc/net/inet_ntoa.c7
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
OpenPOWER on IntegriCloud