=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/math.h,v retrieving revision 1.12 retrieving revision 1.13 diff -c -r1.12 -r1.13 *** src/include/math.h 2006/05/05 20:10:25 1.12 --- src/include/math.h 2006/07/12 06:43:31 1.13 *************** *** 1,4 **** ! /* $OpenBSD: math.h,v 1.12 2006/05/05 20:10:25 otto Exp $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. --- 1,4 ---- ! /* $OpenBSD: math.h,v 1.13 2006/07/12 06:43:31 brad Exp $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. *************** *** 141,146 **** --- 141,148 ---- extern double floor(double); extern double fmod(double, double); + extern double trunc(double); + #if __BSD_VISIBLE || __XPG_VISIBLE extern double erf(double); extern double erfc(double); *************** *** 233,238 **** --- 235,242 ---- extern float fabsf(float); extern float floorf(float); extern float fmodf(float, float); + + extern float truncf(float); extern float erff(float); extern float erfcf(float);