summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-01-15 18:59:33 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-01-15 18:59:33 +0100
commit7cb39c2da82928ceee077cc3e623cfe36f1b1172 (patch)
tree93f470c2f6e3cacc995eb4f7d96b0483bf31da28 /gmp-h.in
parent9d6c7ddc663693f3c4d9426d3be734309be71b58 (diff)
downloadgmp-7cb39c2da82928ceee077cc3e623cfe36f1b1172.tar.gz
(__GMP_EXTERN_INLINE): Remove "extern" for newer Sun C
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 946418690..bc9c7854d 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -460,13 +460,13 @@ typedef __mpq_struct *mpq_ptr;
#define __GMP_EXTERN_INLINE __inline
#endif
-/* Recent enough Sun C compilers accept "extern inline" */
+/* Recent enough Sun C compilers want "inline" */
#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x560 \
&& ! defined (__GMP_EXTERN_INLINE)
-#define __GMP_EXTERN_INLINE extern inline
+#define __GMP_EXTERN_INLINE inline
#endif
-/* Somewhat older Sun C compilers accept "static inline" */
+/* Somewhat older Sun C compilers want "static inline" */
#if defined (__SUNPRO_C) && __SUNPRO_C >= 0x540 \
&& ! defined (__GMP_EXTERN_INLINE)
#define __GMP_EXTERN_INLINE static inline