diff options
Diffstat (limited to 'src/lib/libc/net/getservbyport.c')
-rw-r--r-- | src/lib/libc/net/getservbyport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/getservbyport.c b/src/lib/libc/net/getservbyport.c index 46679ba366..3584fbea3a 100644 --- a/src/lib/libc/net/getservbyport.c +++ b/src/lib/libc/net/getservbyport.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getservbyport.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: getservbyport.c,v 1.8 2015/09/14 07:38:38 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1983, 1993 | 3 | * Copyright (c) 1983, 1993 |
4 | * The Regents of the University of California. All rights reserved. | 4 | * The Regents of the University of California. All rights reserved. |
@@ -51,6 +51,7 @@ getservbyport_r(int port, const char *proto, struct servent *se, | |||
51 | } | 51 | } |
52 | return (error); | 52 | return (error); |
53 | } | 53 | } |
54 | DEF_WEAK(getservbyport_r); | ||
54 | 55 | ||
55 | struct servent * | 56 | struct servent * |
56 | getservbyport(int port, const char *proto) | 57 | getservbyport(int port, const char *proto) |