Browse Source

add missing prototypes for trunc/truncf.

OPENBSD_4_0
brad 18 years ago
parent
commit
d5e9846a62
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/include/math.h

+ 5
- 1
src/include/math.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: math.h,v 1.12 2006/05/05 20:10:25 otto Exp $ */
/* $OpenBSD: math.h,v 1.13 2006/07/12 06:43:31 brad Exp $ */
/* /*
* ==================================================== * ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@ -141,6 +141,8 @@ extern double fabs(double);
extern double floor(double); extern double floor(double);
extern double fmod(double, double); extern double fmod(double, double);
extern double trunc(double);
#if __BSD_VISIBLE || __XPG_VISIBLE #if __BSD_VISIBLE || __XPG_VISIBLE
extern double erf(double); extern double erf(double);
extern double erfc(double); extern double erfc(double);
@ -234,6 +236,8 @@ extern float fabsf(float);
extern float floorf(float); extern float floorf(float);
extern float fmodf(float, float); extern float fmodf(float, float);
extern float truncf(float);
extern float erff(float); extern float erff(float);
extern float erfcf(float); extern float erfcf(float);
extern float gammaf(float); extern float gammaf(float);


Loading…
Cancel
Save