mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-12 10:31:01 +00:00
patch gcc to compile with gcc 6.2 (long since fixed in the official gcc)
This commit is contained in:
parent
21ec187812
commit
26c2330aae
@ -20,10 +20,10 @@ along with GCC; see the file COPYING3. If not see
|
|||||||
__inline
|
__inline
|
||||||
#endif
|
#endif
|
||||||
static unsigned int hash (const char *, unsigned int);
|
static unsigned int hash (const char *, unsigned int);
|
||||||
#ifdef __GNUC__
|
/*#ifdef __GNUC__
|
||||||
__inline
|
__inline
|
||||||
#endif
|
#endif
|
||||||
const char * libc_name_p (const char *, unsigned int);
|
const char * libc_name_p (const char *, unsigned int);*/
|
||||||
%}
|
%}
|
||||||
%%
|
%%
|
||||||
# The standard C library functions, for feeding to gperf; the result is used
|
# The standard C library functions, for feeding to gperf; the result is used
|
||||||
|
@ -122,12 +122,7 @@ hash (register const char *str, register unsigned int len)
|
|||||||
return hval + asso_values[(unsigned char)str[len - 1]];
|
return hval + asso_values[(unsigned char)str[len - 1]];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
__inline
|
|
||||||
#ifdef __GNUC_STDC_INLINE__
|
|
||||||
__attribute__ ((__gnu_inline__))
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
const char *
|
const char *
|
||||||
libc_name_p (register const char *str, register unsigned int len)
|
libc_name_p (register const char *str, register unsigned int len)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user