diff options
Diffstat (limited to 'lib/libc/gen/vwarnx.c')
-rw-r--r-- | lib/libc/gen/vwarnx.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/gen/vwarnx.c b/lib/libc/gen/vwarnx.c index e6b1957d4f3..67d8f5b5706 100644 --- a/lib/libc/gen/vwarnx.c +++ b/lib/libc/gen/vwarnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vwarnx.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */ +/* $OpenBSD: vwarnx.c,v 1.10 2015/08/31 02:53:57 guenther Exp $ */ /*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. @@ -35,13 +35,11 @@ extern char *__progname; /* Program name, from crt0. */ void -_vwarnx(const char *fmt, va_list ap) +vwarnx(const char *fmt, va_list ap) { (void)fprintf(stderr, "%s: ", __progname); if (fmt != NULL) (void)vfprintf(stderr, fmt, ap); (void)fprintf(stderr, "\n"); } - -__weak_alias(vwarnx, _vwarnx); - +DEF_WEAK(vwarnx); |