* fix ANSI C compliance of r33757
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fa00b6516c
commit
3d85b0ff5a
@ -198,7 +198,7 @@ void xfree(void*);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__sparc)
|
#if defined(__sparc)
|
||||||
void rb_sparc_flush_register_windows();
|
void rb_sparc_flush_register_windows(void);
|
||||||
# define FLUSH_REGISTER_WINDOWS rb_sparc_flush_register_windows()
|
# define FLUSH_REGISTER_WINDOWS rb_sparc_flush_register_windows()
|
||||||
#elif defined(__ia64)
|
#elif defined(__ia64)
|
||||||
void *rb_ia64_bsp(void);
|
void *rb_ia64_bsp(void);
|
||||||
|
2
sparc.c
2
sparc.c
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
See http://redmine.ruby-lang.org/issues/5244 for discussion.
|
See http://redmine.ruby-lang.org/issues/5244 for discussion.
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
void rb_sparc_flush_register_windows()
|
void rb_sparc_flush_register_windows(void)
|
||||||
{
|
{
|
||||||
asm
|
asm
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user