OSDN Git Service

last math related global data reloc (_LIB_VERSION) removed
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 17 Jan 2006 09:54:08 +0000 (09:54 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Tue, 17 Jan 2006 09:54:08 +0000 (09:54 -0000)
libm/k_standard.c
libm/s_lib_version.c

index d960e8f..11df7bb 100644 (file)
 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 */
index fde8e3b..91cd5fc 100644 (file)
@@ -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)