Include <string.h> to prototype strcpy(3). While I'm here, make use
of the new RCSID macros. MFC after: 3 days
This commit is contained in:
parent
19323fdd72
commit
b5c9f90bf5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84437
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user