Make some needed weak aliases.

This commit is contained in:
mycroft 1999-08-17 03:43:59 +00:00
parent d8ad2663a8
commit af3e075076
10 changed files with 64 additions and 20 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: err.c,v 1.15 1997/07/17 21:33:21 thorpej Exp $ */
/* $NetBSD: err.c,v 1.16 1999/08/17 03:43:59 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: err.c,v 1.15 1997/07/17 21:33:21 thorpej Exp $");
__RCSID("$NetBSD: err.c,v 1.16 1999/08/17 03:43:59 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -53,6 +53,10 @@ __RCSID("$NetBSD: err.c,v 1.15 1997/07/17 21:33:21 thorpej Exp $");
#include <varargs.h>
#endif
#ifdef __weak_alias
__weak_alias(err, _err)
#endif
__dead void
#ifdef __STDC__
_err(int eval, const char *fmt, ...)

View File

@ -1,4 +1,4 @@
/* $NetBSD: errlist.c,v 1.11 1998/12/06 07:12:19 jonathan Exp $ */
/* $NetBSD: errlist.c,v 1.12 1999/08/17 03:50:56 mycroft Exp $ */
/*
* Copyright (c) 1982, 1985, 1993
@ -38,10 +38,17 @@
#if 0
static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
#else
__RCSID("$NetBSD: errlist.c,v 1.11 1998/12/06 07:12:19 jonathan Exp $");
__RCSID("$NetBSD: errlist.c,v 1.12 1999/08/17 03:50:56 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifdef __weak_alias
__weak_alias(sys_errlist, _sys_errlist)
__weak_alias(__sys_errlist, _sys_errlist)
__weak_alias(sys_nerr, _sys_nerr)
__weak_alias(__sys_nerr, _sys_nerr)
#endif
const char *const _sys_errlist[] = {
"Undefined error: 0", /* 0 - ENOERROR */
"Operation not permitted", /* 1 - EPERM */

View File

@ -1,4 +1,4 @@
/* $NetBSD: errx.c,v 1.3 1997/07/17 21:33:22 thorpej Exp $ */
/* $NetBSD: errx.c,v 1.4 1999/08/17 03:43:59 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: errx.c,v 1.3 1997/07/17 21:33:22 thorpej Exp $");
__RCSID("$NetBSD: errx.c,v 1.4 1999/08/17 03:43:59 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -53,6 +53,10 @@ __RCSID("$NetBSD: errx.c,v 1.3 1997/07/17 21:33:22 thorpej Exp $");
#include <varargs.h>
#endif
#ifdef __weak_alias
__weak_alias(errx, _errx)
#endif
__dead void
#if __STDC__
_errx(int eval, const char *fmt, ...)

View File

@ -1,4 +1,4 @@
/* $NetBSD: siglist.c,v 1.13 1998/12/06 07:05:49 jonathan Exp $ */
/* $NetBSD: siglist.c,v 1.14 1999/08/17 03:50:56 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@ -38,10 +38,15 @@
#if 0
static char sccsid[] = "@(#)siglist.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: siglist.c,v 1.13 1998/12/06 07:05:49 jonathan Exp $");
__RCSID("$NetBSD: siglist.c,v 1.14 1999/08/17 03:50:56 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#ifdef __weak_alias
__weak_alias(sys_siglist, _sys_siglist)
__weak_alias(__sys_siglist, _sys_siglist)
#endif
const char *const _sys_siglist[] = {
"Signal 0",
"Hangup", /* SIGHUP */

View File

@ -1,4 +1,4 @@
/* $NetBSD: verr.c,v 1.3 1997/07/17 21:33:23 thorpej Exp $ */
/* $NetBSD: verr.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: verr.c,v 1.3 1997/07/17 21:33:23 thorpej Exp $");
__RCSID("$NetBSD: verr.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -59,6 +59,10 @@ __RCSID("$NetBSD: verr.c,v 1.3 1997/07/17 21:33:23 thorpej Exp $");
extern char *__progname; /* Program name, from crt0. */
#ifdef __weak_alias
__weak_alias(verr, _verr)
#endif
__dead void
_verr(eval, fmt, ap)
int eval;

View File

@ -1,4 +1,4 @@
/* $NetBSD: verrx.c,v 1.3 1997/07/17 21:33:24 thorpej Exp $ */
/* $NetBSD: verrx.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: verrx.c,v 1.3 1997/07/17 21:33:24 thorpej Exp $");
__RCSID("$NetBSD: verrx.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -57,6 +57,10 @@ __RCSID("$NetBSD: verrx.c,v 1.3 1997/07/17 21:33:24 thorpej Exp $");
extern char *__progname; /* Program name, from crt0. */
#ifdef __weak_alias
__weak_alias(verrx, _verrx)
#endif
__dead void
_verrx(eval, fmt, ap)
int eval;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vwarn.c,v 1.3 1997/07/17 21:33:25 thorpej Exp $ */
/* $NetBSD: vwarn.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: vwarn.c,v 1.3 1997/07/17 21:33:25 thorpej Exp $");
__RCSID("$NetBSD: vwarn.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -58,6 +58,10 @@ __RCSID("$NetBSD: vwarn.c,v 1.3 1997/07/17 21:33:25 thorpej Exp $");
extern char *__progname; /* Program name, from crt0. */
#ifdef __weak_alias
__weak_alias(vwarn, _vwarn)
#endif
void
_vwarn(fmt, ap)
const char *fmt;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vwarnx.c,v 1.3 1997/07/17 21:33:27 thorpej Exp $ */
/* $NetBSD: vwarnx.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: vwarnx.c,v 1.3 1997/07/17 21:33:27 thorpej Exp $");
__RCSID("$NetBSD: vwarnx.c,v 1.4 1999/08/17 03:47:40 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -56,6 +56,10 @@ __RCSID("$NetBSD: vwarnx.c,v 1.3 1997/07/17 21:33:27 thorpej Exp $");
extern char *__progname; /* Program name, from crt0. */
#ifdef __weak_alias
__weak_alias(vwarnx, _vwarnx)
#endif
void
_vwarnx(fmt, ap)
const char *fmt;

View File

@ -1,4 +1,4 @@
/* $NetBSD: warn.c,v 1.3 1997/07/17 21:33:28 thorpej Exp $ */
/* $NetBSD: warn.c,v 1.4 1999/08/17 03:43:59 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: warn.c,v 1.3 1997/07/17 21:33:28 thorpej Exp $");
__RCSID("$NetBSD: warn.c,v 1.4 1999/08/17 03:43:59 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -53,6 +53,10 @@ __RCSID("$NetBSD: warn.c,v 1.3 1997/07/17 21:33:28 thorpej Exp $");
#include <varargs.h>
#endif
#ifdef __weak_alias
__weak_alias(warn, _warn)
#endif
void
#ifdef __STDC__
_warn(const char *fmt, ...)

View File

@ -1,4 +1,4 @@
/* $NetBSD: warnx.c,v 1.3 1997/07/17 21:33:30 thorpej Exp $ */
/* $NetBSD: warnx.c,v 1.4 1999/08/17 03:44:00 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: warnx.c,v 1.3 1997/07/17 21:33:30 thorpej Exp $");
__RCSID("$NetBSD: warnx.c,v 1.4 1999/08/17 03:44:00 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -53,6 +53,10 @@ __RCSID("$NetBSD: warnx.c,v 1.3 1997/07/17 21:33:30 thorpej Exp $");
#include <varargs.h>
#endif
#ifdef __weak_alias
__weak_alias(warnx, _warnx)
#endif
void
#ifdef __STDC__
_warnx(const char *fmt, ...)