Make some needed weak aliases.

This commit is contained in:
mycroft 1999-08-17 03:58:39 +00:00
parent 6ea04fe2cd
commit 9f5f4ac699
7 changed files with 37 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: res_comp.c,v 1.13 1998/11/13 15:46:56 christos Exp $ */
/* $NetBSD: res_comp.c,v 1.14 1999/08/17 03:58:39 mycroft Exp $ */
/*-
* Copyright (c) 1985, 1993
@ -59,7 +59,7 @@
static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: res_comp.c,v 8.12 1997/06/01 20:34:37 vixie Exp ";
#else
__RCSID("$NetBSD: res_comp.c,v 1.13 1998/11/13 15:46:56 christos Exp $");
__RCSID("$NetBSD: res_comp.c,v 1.14 1999/08/17 03:58:39 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -75,6 +75,7 @@ __RCSID("$NetBSD: res_comp.c,v 1.13 1998/11/13 15:46:56 christos Exp $");
#ifdef __weak_alias
__weak_alias(dn_expand,_dn_expand);
__weak_alias(dn_comp,__dn_comp);
#endif
static int dn_find __P((const u_char *, u_char *, u_char **, u_char **));

View File

@ -1,4 +1,4 @@
/* $NetBSD: res_send.c,v 1.19 1999/07/04 03:52:55 itojun Exp $ */
/* $NetBSD: res_send.c,v 1.20 1999/08/17 03:58:39 mycroft Exp $ */
/*-
* Copyright (c) 1985, 1989, 1993
@ -59,7 +59,7 @@
static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: res_send.c,v 8.13 1997/06/01 20:34:37 vixie Exp ";
#else
__RCSID("$NetBSD: res_send.c,v 1.19 1999/07/04 03:52:55 itojun Exp $");
__RCSID("$NetBSD: res_send.c,v 1.20 1999/08/17 03:58:39 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -103,6 +103,11 @@ __RCSID("$NetBSD: res_send.c,v 1.19 1999/07/04 03:52:55 itojun Exp $");
# include <../conf/options.h>
#endif
#ifdef __weak_alias
__weak_alias(res_close,__res_close)
__weak_alias(res_send,__res_send)
#endif
static int s = -1; /* socket used for communications */
static int connected = 0; /* is the socket connected */
static int vc = 0; /* is the socket a virtual ciruit? */

View File

@ -1,4 +1,4 @@
/* $NetBSD: catclose.c,v 1.10 1998/11/15 17:42:36 christos Exp $ */
/* $NetBSD: catclose.c,v 1.11 1999/08/17 04:00:51 mycroft Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -45,6 +45,10 @@
#include <stdlib.h>
#include <nl_types.h>
#ifdef __weak_alias
__weak_alias(catclose, _catclose)
#endif
int
_catclose(catd)
nl_catd catd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: catgets.c,v 1.14 1998/11/15 17:42:36 christos Exp $ */
/* $NetBSD: catgets.c,v 1.15 1999/08/17 04:00:51 mycroft Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -44,6 +44,10 @@
#include <string.h>
#include <nl_types.h>
#ifdef __weak_alias
__weak_alias(catgets, _catgets)
#endif
char *
_catgets(catd, set_id, msg_id, s)
nl_catd catd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: catopen.c,v 1.14 1998/11/15 17:42:36 christos Exp $ */
/* $NetBSD: catopen.c,v 1.15 1999/08/17 04:00:51 mycroft Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -53,6 +53,10 @@
#define NLS_DEFAULT_PATH "/usr/share/nls/%L/%N.cat:/usr/share/nls/%N/%L"
#define NLS_DEFAULT_LANG "C"
#ifdef __weak_alias
__weak_alias(catopen, _catopen)
#endif
static nl_catd load_msgcat __P((const char *));
/* ARGSUSED */

View File

@ -1,4 +1,4 @@
/* $NetBSD: strtoq.c,v 1.11 1998/11/15 17:13:52 christos Exp $ */
/* $NetBSD: strtoq.c,v 1.12 1999/08/17 04:02:34 mycroft Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)strtoq.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: strtoq.c,v 1.11 1998/11/15 17:13:52 christos Exp $");
__RCSID("$NetBSD: strtoq.c,v 1.12 1999/08/17 04:02:34 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -50,6 +50,10 @@ __RCSID("$NetBSD: strtoq.c,v 1.11 1998/11/15 17:13:52 christos Exp $");
#include <limits.h>
#include <stdlib.h>
#ifdef __weak_alias
__weak_alias(strtoq, _strtoq)
#endif
/*
* Convert a string to a quad integer.
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: strtouq.c,v 1.10 1998/11/15 17:13:52 christos Exp $ */
/* $NetBSD: strtouq.c,v 1.11 1999/08/17 04:02:34 mycroft Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)strtouq.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: strtouq.c,v 1.10 1998/11/15 17:13:52 christos Exp $");
__RCSID("$NetBSD: strtouq.c,v 1.11 1999/08/17 04:02:34 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -50,6 +50,10 @@ __RCSID("$NetBSD: strtouq.c,v 1.10 1998/11/15 17:13:52 christos Exp $");
#include <limits.h>
#include <stdlib.h>
#ifdef __weak_alias
__weak_alias(strtouq, _strtouq)
#endif
/*
* Convert a string to an unsigned quad integer.
*