diff options
Diffstat (limited to 'lib/libc/gen/gethostname.c')
-rw-r--r-- | lib/libc/gen/gethostname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c index 4ae3439683e..aa1e4ce6cf3 100644 --- a/lib/libc/gen/gethostname.c +++ b/lib/libc/gen/gethostname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gethostname.c,v 1.8 2015/01/14 23:03:50 deraadt Exp $ */ +/* $OpenBSD: gethostname.c,v 1.9 2015/09/12 14:56:50 guenther Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -45,3 +45,4 @@ gethostname(char *name, size_t namelen) return (-1); return (0); } +DEF_WEAK(gethostname); |