aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-22 22:07:18 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-22 22:07:18 +0000
commitff46117d2f800597cb2d53d726ef67d16e947650 (patch)
treeb472b9e1eb896d38d8f036101e9f19c20df13397
parentf8d826fc8557756da1770a5e505b2f729d820525 (diff)
downloadglibc-ff46117d2f800597cb2d53d726ef67d16e947650.tar.xz
glibc-ff46117d2f800597cb2d53d726ef67d16e947650.zip
(PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
Undefine at the end of the file.
-rw-r--r--sysdeps/unix/sysv/linux/arm/dl-procinfo.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
index 9acd07962b..9b87a2003d 100644
--- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
@@ -1,5 +1,5 @@
/* Data for Linux/ARM version of processor capability information.
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>, 2001.
@@ -40,13 +40,14 @@
needed.
*/
-#ifdef PROCINFO_DECL
-EXTERN
+#ifndef PROCINFO_CLASS
+#define PROCINFO_CLASS
#endif
+
#if !defined PROCINFO_DECL && defined SHARED
._dl_arm_cap_flags
#else
-const char _dl_arm_cap_flags[8][10]
+PROCINFO_CLASS const char _dl_arm_cap_flags[8][10]
#endif
#ifndef PROCINFO_DECL
= {
@@ -60,3 +61,4 @@ const char _dl_arm_cap_flags[8][10]
#endif
#undef PROCINFO_DECL
+#undef PROCINFO_CLASS