diff options
author | 2015-09-14 10:45:27 +0000 | |
---|---|---|
committer | 2015-09-14 10:45:27 +0000 | |
commit | 6709dcd9afeb897f21d6d3b51911479e7c46e5e4 (patch) | |
tree | d40fef121fb269918c93935aa7dc621a51867b09 /lib/libc/gen/readpassphrase.c | |
parent | Wrap <netgroup.h> so internal calls go direct and the symbols are all weak (diff) | |
download | wireguard-openbsd-6709dcd9afeb897f21d6d3b51911479e7c46e5e4.tar.xz wireguard-openbsd-6709dcd9afeb897f21d6d3b51911479e7c46e5e4.zip |
Wrap <readpassphrase.h> so internal calls go direct and readpassphrase is weak
Diffstat (limited to 'lib/libc/gen/readpassphrase.c')
-rw-r--r-- | lib/libc/gen/readpassphrase.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/readpassphrase.c b/lib/libc/gen/readpassphrase.c index 6854617591c..3837b0881de 100644 --- a/lib/libc/gen/readpassphrase.c +++ b/lib/libc/gen/readpassphrase.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readpassphrase.c,v 1.24 2013/11/24 23:51:29 deraadt Exp $ */ +/* $OpenBSD: readpassphrase.c,v 1.25 2015/09/14 10:45:27 guenther Exp $ */ /* * Copyright (c) 2000-2002, 2007, 2010 @@ -171,6 +171,7 @@ restart: errno = save_errno; return(nr == -1 ? NULL : buf); } +DEF_WEAK(readpassphrase); char * getpass(const char *prompt) |