const poisoning.

This commit is contained in:
mycroft 1998-07-26 14:13:00 +00:00
parent ea09e5f2d4
commit 982e920022
13 changed files with 37 additions and 37 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: math.h,v 1.13 1998/05/11 11:06:23 kleink Exp $ */
/* $NetBSD: math.h,v 1.14 1998/07/26 14:15:07 mycroft Exp $ */
/*
* ====================================================
@ -23,8 +23,8 @@
/*
* ANSI/POSIX
*/
extern char __infinity[];
#define HUGE_VAL (*(double *) __infinity)
extern const char __infinity[];
#define HUGE_VAL (*(const double *)__infinity)
/*
* XOPEN/SVID

View File

@ -1,4 +1,4 @@
/* $NetBSD: infinity.c,v 1.1 1995/02/10 17:50:23 cgd Exp $ */
/* $NetBSD: infinity.c,v 1.2 1998/07/26 14:14:15 mycroft Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -30,4 +30,4 @@
#include <math.h>
/* bytes for +Infinity on an Alpha (IEEE double format) */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -1,4 +1,4 @@
/* $NetBSD: infinity.c,v 1.3 1997/10/06 00:18:35 mark Exp $ */
/* $NetBSD: infinity.c,v 1.4 1998/07/26 14:14:15 mycroft Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe.
@ -35,4 +35,4 @@
/* Bytes for +infinity on an arm32 (IEEE double precision) */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -1,8 +1,8 @@
/* $NetBSD: infinity.c,v 1.2 1997/07/13 18:45:18 christos Exp $ */
/* $NetBSD: infinity.c,v 1.3 1998/07/26 14:14:15 mycroft Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:18 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.3 1998/07/26 14:14:15 mycroft Exp $");
#endif /* not lint */
/* infinity.c */
@ -10,4 +10,4 @@ __RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:18 christos Exp $");
#include <math.h>
/* bytes for +Infinity on a 387 */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -1,8 +1,8 @@
/* $NetBSD: infinity.c,v 1.3 1997/07/13 18:45:21 christos Exp $ */
/* $NetBSD: infinity.c,v 1.4 1998/07/26 14:14:15 mycroft Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: infinity.c,v 1.3 1997/07/13 18:45:21 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.4 1998/07/26 14:14:15 mycroft Exp $");
#endif /* not lint */
/* infinity.c */
@ -10,4 +10,4 @@ __RCSID("$NetBSD: infinity.c,v 1.3 1997/07/13 18:45:21 christos Exp $");
#include <math.h>
/* bytes for +Infinity on a 68k */
char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
const char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };

View File

@ -1,4 +1,4 @@
/* $NetBSD: infinity.c,v 1.3 1996/09/16 18:10:54 jonathan Exp $ */
/* $NetBSD: infinity.c,v 1.4 1998/07/26 14:14:15 mycroft Exp $ */
/*
* IEEE-compatible infinity.c -- public domain.
@ -9,7 +9,7 @@
/* bytes for +Infinity on a MIPS */
#if BYTE_ORDER == BIG_ENDIAN
char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
const char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
#else
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
#endif

View File

@ -1,11 +1,11 @@
/* $NetBSD: infinity.c,v 1.5 1997/07/13 18:45:39 christos Exp $ */
/* $NetBSD: infinity.c,v 1.6 1998/07/26 14:14:15 mycroft Exp $ */
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: infinity.c,v 1.5 1997/07/13 18:45:39 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.6 1998/07/26 14:14:15 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
#include <math.h>
/* bytes for +Infinity on a ns32k */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -1,8 +1,8 @@
/* $NetBSD: infinity.c,v 1.2 1997/07/13 18:45:41 christos Exp $ */
/* $NetBSD: infinity.c,v 1.3 1998/07/26 14:14:15 mycroft Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:41 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.3 1998/07/26 14:14:15 mycroft Exp $");
#endif /* not lint */
/* infinity.c */
@ -10,4 +10,4 @@ __RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:41 christos Exp $");
#include <math.h>
/* bytes for +Infinity on a PowerPC */
char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
const char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };

View File

@ -1,8 +1,8 @@
/* $NetBSD: infinity.c,v 1.2 1997/07/13 18:45:42 christos Exp $ */
/* $NetBSD: infinity.c,v 1.3 1998/07/26 14:14:16 mycroft Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:42 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.3 1998/07/26 14:14:16 mycroft Exp $");
#endif /* not lint */
/* infinity.c */
@ -10,4 +10,4 @@ __RCSID("$NetBSD: infinity.c,v 1.2 1997/07/13 18:45:42 christos Exp $");
#include <math.h>
/* bytes for +Infinity on a sparc */
char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
const char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };

View File

@ -1,8 +1,8 @@
/* $NetBSD: infinity.c,v 1.3 1997/07/16 14:38:05 christos Exp $ */
/* $NetBSD: infinity.c,v 1.4 1998/07/26 14:14:16 mycroft Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: infinity.c,v 1.3 1997/07/16 14:38:05 christos Exp $");
__RCSID("$NetBSD: infinity.c,v 1.4 1998/07/26 14:14:16 mycroft Exp $");
#endif /* not lint */
/*
* XXX - THIS IS (probably) COMPLETELY WRONG ON VAX!!!
@ -13,4 +13,4 @@ __RCSID("$NetBSD: infinity.c,v 1.3 1997/07/16 14:38:05 christos Exp $");
#include <math.h>
/* bytes for +Infinity on a 387 */
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
const char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };

View File

@ -1,4 +1,4 @@
/* $NetBSD: nlist.c,v 1.12 1997/07/21 14:07:21 jtc Exp $ */
/* $NetBSD: nlist.c,v 1.13 1998/07/26 14:18:18 mycroft Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: nlist.c,v 1.12 1997/07/21 14:07:21 jtc Exp $");
__RCSID("$NetBSD: nlist.c,v 1.13 1998/07/26 14:18:18 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -61,7 +61,7 @@ __weak_alias(nlist,_nlist);
#include "nlist_private.h"
static struct {
static const struct {
int (*fdnlist) __P((int, struct nlist *));
} fdnlist_fmts[] = {
#ifdef NLIST_AOUT

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_rmt.c,v 1.15 1998/05/23 13:37:26 tv Exp $ */
/* $NetBSD: pmap_rmt.c,v 1.16 1998/07/26 14:17:56 mycroft Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -35,7 +35,7 @@
static char *sccsid = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC";
#else
__RCSID("$NetBSD: pmap_rmt.c,v 1.15 1998/05/23 13:37:26 tv Exp $");
__RCSID("$NetBSD: pmap_rmt.c,v 1.16 1998/07/26 14:17:56 mycroft Exp $");
#endif
#endif
@ -80,7 +80,7 @@ __weak_alias(xdr_rmtcallres,_xdr_rmtcallres);
static int getbroadcastnets __P((struct in_addr *, int, char *));
static struct timeval timeout = { 3, 0 };
static const struct timeval timeout = { 3, 0 };
/*
* pmapper remote-call-service interface.

View File

@ -1,4 +1,4 @@
/* $NetBSD: strtod.c,v 1.26 1998/02/03 18:44:21 perry Exp $ */
/* $NetBSD: strtod.c,v 1.27 1998/07/26 14:13:00 mycroft Exp $ */
/****************************************************************
*
@ -93,7 +93,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: strtod.c,v 1.26 1998/02/03 18:44:21 perry Exp $");
__RCSID("$NetBSD: strtod.c,v 1.27 1998/07/26 14:13:00 mycroft Exp $");
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
@ -705,7 +705,7 @@ pow5mult
{
Bigint *b1, *p5, *p51;
int i;
static int p05[3] = { 5, 25, 125 };
static const int p05[3] = { 5, 25, 125 };
if ((i = k & 3) != 0)
b = multadd(b, p05[i-1], 0);