Browse Source

fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon

OPENBSD_4_5
otto 16 years ago
parent
commit
bd870c5e03
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/arpa/inet.h

+ 2
- 2
src/include/arpa/inet.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: inet.h,v 1.10 2004/01/22 21:48:02 espie Exp $ */
/* $OpenBSD: inet.h,v 1.11 2008/12/09 19:38:38 otto Exp $ */
/*
* ++Copyright++ 1983, 1993
@ -84,7 +84,7 @@ int inet_net_pton(int, const char *, void *, size_t)
__attribute__((__bounded__(__string__,3,4)));
char *inet_ntoa(struct in_addr);
int inet_pton(int, const char *, void *);
const char *inet_ntop(int, const void *, char *, size_t)
const char *inet_ntop(int, const void *, char *, socklen_t)
__attribute__ ((__bounded__(__string__,3,4)));
unsigned int inet_nsap_addr(const char *, unsigned char *, int);
char *inet_nsap_ntoa(int, const unsigned char *, char *);


Loading…
Cancel
Save