diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-06-08 04:52:56 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-06-08 04:52:56 +0000 |
commit | 14fcdc4e9f32039c3345997aa2db18b6e4bbc994 (patch) | |
tree | ae18c57617fb24427ca4336858530ea0bb1f4319 /lib/libc/gen/verrx.c | |
parent | e88d54b4ae55f3de545f2425ca748e132ca52617 (diff) |
use weak aliases whenever is possible; millert@ ok.
Diffstat (limited to 'lib/libc/gen/verrx.c')
-rw-r--r-- | lib/libc/gen/verrx.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/verrx.c b/lib/libc/gen/verrx.c index 3c336c75a88..8ce7ee48d7e 100644 --- a/lib/libc/gen/verrx.c +++ b/lib/libc/gen/verrx.c @@ -32,14 +32,21 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: verrx.c,v 1.3 2002/02/19 19:39:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: verrx.c,v 1.4 2002/06/08 04:52:55 fgsch Exp $"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> #include <err.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> +#ifdef __indr_reference +__indr_reference(_verrx, verrx); +#else +__weak_alias(verrx, _verrx); +#endif + extern char *__progname; /* Program name, from crt0. */ __dead void |