(PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
authorUlrich Drepper <drepper@redhat.com>
Tue, 22 Jul 2003 22:07:18 +0000 (22:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 22 Jul 2003 22:07:18 +0000 (22:07 +0000)
Undefine at the end of the file.

sysdeps/unix/sysv/linux/arm/dl-procinfo.c

index 9acd079..9b87a20 100644 (file)
@@ -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.
 
        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