remove redundant declarations; use __MATH_PRIVATE__ to override math.h
declarations.
This commit is contained in:
parent
7e14d8a67c
commit
fe98f4b896
@ -7,9 +7,10 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_cabs.c,v 1.3 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_cabs.c,v 1.4 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
#define __MATH_PRIVATE__
|
||||
#include <math.h>
|
||||
|
||||
struct complex {
|
||||
|
@ -7,9 +7,10 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_cabsf.c,v 1.3 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_cabsf.c,v 1.4 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
#define __MATH_PRIVATE__
|
||||
#include <math.h>
|
||||
|
||||
struct complex {
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_gamma.c,v 1.9 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_gamma.c,v 1.10 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/* double gamma(double x)
|
||||
@ -24,8 +24,6 @@ __RCSID("$NetBSD: w_gamma.c,v 1.9 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
extern int signgam;
|
||||
|
||||
#ifdef __STDC__
|
||||
double gamma(double x)
|
||||
#else
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_gamma_r.c,v 1.9 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_gamma_r.c,v 1.10 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -22,9 +22,6 @@ __RCSID("$NetBSD: w_gamma_r.c,v 1.9 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
double gamma_r __P((double, int *));
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
double gamma_r(double x, int *signgamp) /* wrapper lgamma_r */
|
||||
#else
|
||||
|
@ -15,14 +15,12 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_gammaf.c,v 1.6 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_gammaf.c,v 1.7 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
extern int signgam;
|
||||
|
||||
#ifdef __STDC__
|
||||
float gammaf(float x)
|
||||
#else
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_gammaf_r.c,v 1.6 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_gammaf_r.c,v 1.7 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -25,9 +25,6 @@ __RCSID("$NetBSD: w_gammaf_r.c,v 1.6 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
float gammaf_r __P((float, int *));
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
float gammaf_r(float x, int *signgamp) /* wrapper lgammaf_r */
|
||||
#else
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_lgamma.c,v 1.8 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_lgamma.c,v 1.9 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/* double lgamma(double x)
|
||||
@ -24,8 +24,6 @@ __RCSID("$NetBSD: w_lgamma.c,v 1.8 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
extern int signgam;
|
||||
|
||||
#ifdef __STDC__
|
||||
double lgamma(double x)
|
||||
#else
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_lgamma_r.c,v 1.8 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_lgamma_r.c,v 1.9 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -22,9 +22,6 @@ __RCSID("$NetBSD: w_lgamma_r.c,v 1.8 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
double lgamma_r __P((double, int *));
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
double lgamma_r(double x, int *signgamp) /* wrapper lgamma_r */
|
||||
#else
|
||||
|
@ -15,14 +15,12 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_lgammaf.c,v 1.5 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_lgammaf.c,v 1.6 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
extern int signgam;
|
||||
|
||||
#ifdef __STDC__
|
||||
float lgammaf(float x)
|
||||
#else
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: w_lgammaf_r.c,v 1.5 1999/07/02 15:37:44 simonb Exp $");
|
||||
__RCSID("$NetBSD: w_lgammaf_r.c,v 1.6 2001/01/06 00:15:00 christos Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -25,9 +25,6 @@ __RCSID("$NetBSD: w_lgammaf_r.c,v 1.5 1999/07/02 15:37:44 simonb Exp $");
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
float lgammaf_r __P((float, int *));
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
float lgammaf_r(float x, int *signgamp) /* wrapper lgammaf_r */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user