0010-cfns-inline-fix.diff 614 B

123456789101112131415161718192021222324
  1. diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
  2. index 1c6665d..69699c4 100644
  3. --- a/gcc/cp/cfns.h
  4. +++ b/gcc/cp/cfns.h
  5. @@ -54,6 +54,7 @@ static unsigned int hash (const char *, unsigned int);
  6. #ifdef __GNUC__
  7. __inline
  8. #endif
  9. +static
  10. const char * libc_name_p (const char *, unsigned int);
  11. /* maximum key range = 391, duplicates = 0 */
  12. @@ -124,10 +125,8 @@ hash (register const char *str, register unsigned int len)
  13. #ifdef __GNUC__
  14. __inline
  15. -#ifdef __GNUC_STDC_INLINE__
  16. -__attribute__ ((__gnu_inline__))
  17. -#endif
  18. #endif
  19. +static
  20. const char *
  21. libc_name_p (register const char *str, register unsigned int len)
  22. {