From bb3dc274c59720dc1e231a536edf176cf9687b2e Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sat, 12 Sep 2015 14:56:50 +0000 Subject: Wrap so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname() --- src/lib/libc/crypt/crypt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/crypt/crypt.c') diff --git a/src/lib/libc/crypt/crypt.c b/src/lib/libc/crypt/crypt.c index 95e69bbe99..40d5503544 100644 --- a/src/lib/libc/crypt/crypt.c +++ b/src/lib/libc/crypt/crypt.c @@ -1,7 +1,8 @@ -/* $OpenBSD: crypt.c,v 1.30 2015/07/18 01:18:50 jeremy Exp $ */ +/* $OpenBSD: crypt.c,v 1.31 2015/09/12 14:56:50 guenther Exp $ */ #include #include +#include char * crypt(const char *key, const char *setting) @@ -18,3 +19,4 @@ crypt(const char *key, const char *setting) errno = EINVAL; return (NULL); } +DEF_WEAK(crypt); -- cgit v1.2.3-55-g6feb