diff options
Diffstat (limited to 'lib/libc/net/getprotoname.c')
-rw-r--r-- | lib/libc/net/getprotoname.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/getprotoname.c b/lib/libc/net/getprotoname.c index 749b6b3f13d..f6ed4c49b1a 100644 --- a/lib/libc/net/getprotoname.c +++ b/lib/libc/net/getprotoname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getprotoname.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */ +/* $OpenBSD: getprotoname.c,v 1.8 2015/09/14 07:38:38 guenther Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -54,6 +54,7 @@ found: } return (error); } +DEF_WEAK(getprotobyname_r); struct protoent * getprotobyname(const char *name) @@ -65,3 +66,4 @@ getprotobyname(const char *name) return (NULL); return (&proto); } +DEF_WEAK(getprotobyname); |