Browse Source

last math related global data reloc (_LIB_VERSION) removed

Peter S. Mazinger 18 years ago
parent
commit
1c9017b644
2 changed files with 4 additions and 1 deletions
  1. 2 1
      libm/k_standard.c
  2. 2 0
      libm/s_lib_version.c

+ 2 - 1
libm/k_standard.c

@@ -14,13 +14,14 @@
 static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $";
 #endif
 
-#include "math.h"
+#include <math.h>
 #include "math_private.h"
 #include <errno.h>
 
 libm_hidden_proto(copysign)
 libm_hidden_proto(matherr)
 libm_hidden_proto(rint)
+libm_hidden_proto(_LIB_VERSION)
 
 #ifndef _USE_WRITE
 #include <stdio.h>			/* fputs(), stderr */

+ 2 - 0
libm/s_lib_version.c

@@ -24,6 +24,7 @@ static char rcsid[] = "$NetBSD: s_lib_version.c,v 1.6 1995/05/10 20:47:44 jtc Ex
 /*
  * define and initialize _LIB_VERSION
  */
+libm_hidden_proto(_LIB_VERSION)
 #ifdef _POSIX_MODE
 _LIB_VERSION_TYPE _LIB_VERSION = _POSIX_;
 #else
@@ -37,3 +38,4 @@ _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
 #endif
 #endif
 #endif
+libm_hidden_def(_LIB_VERSION)