summaryrefslogtreecommitdiff
path: root/gcc/cp/cfns.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cfns.h')
-rw-r--r--gcc/cp/cfns.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
index 62cdfab93..17bcd125b 100644
--- a/gcc/cp/cfns.h
+++ b/gcc/cp/cfns.h
@@ -47,13 +47,7 @@ for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#ifdef __GNUC__
-__inline
-#endif
static unsigned int hash (const char *, unsigned int);
-#ifdef __GNUC__
-__inline
-#endif
const char * libc_name_p (const char *, unsigned int);
/* maximum key range = 391, duplicates = 0 */
@@ -124,7 +118,7 @@ hash (register const char *str, register unsigned int len)
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif