diff options
| author | guenther <> | 2015-09-13 21:36:08 +0000 |
|---|---|---|
| committer | guenther <> | 2015-09-13 21:36:08 +0000 |
| commit | 04476e3178cfe6df05bf48c5efd7194aa15f1153 (patch) | |
| tree | 0ae1c47910a09246e8fb5bd1eb051e7bce8f1788 /src/lib/libc/net/inet_pton.c | |
| parent | 43e71042b70c66db0bc3836b932211fba163d549 (diff) | |
| download | openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.tar.gz openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.tar.bz2 openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.zip | |
Wrap <arpa/inet.h> and <arpa/nameser.h> so that calls go direct and the
symbols without underbar prefix are all weak
Diffstat (limited to 'src/lib/libc/net/inet_pton.c')
| -rw-r--r-- | src/lib/libc/net/inet_pton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/inet_pton.c b/src/lib/libc/net/inet_pton.c index f8e299b7b8..5d7148e8e9 100644 --- a/src/lib/libc/net/inet_pton.c +++ b/src/lib/libc/net/inet_pton.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: inet_pton.c,v 1.9 2015/01/16 16:48:51 deraadt Exp $ */ | 1 | /* $OpenBSD: inet_pton.c,v 1.10 2015/09/13 21:36:08 guenther Exp $ */ |
| 2 | 2 | ||
| 3 | /* Copyright (c) 1996 by Internet Software Consortium. | 3 | /* Copyright (c) 1996 by Internet Software Consortium. |
| 4 | * | 4 | * |
| @@ -57,6 +57,7 @@ inet_pton(int af, const char *src, void *dst) | |||
| 57 | } | 57 | } |
| 58 | /* NOTREACHED */ | 58 | /* NOTREACHED */ |
| 59 | } | 59 | } |
| 60 | DEF_WEAK(inet_pton); | ||
| 60 | 61 | ||
| 61 | /* int | 62 | /* int |
| 62 | * inet_pton4(src, dst) | 63 | * inet_pton4(src, dst) |
