1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/refinement/refinement.c: include ruby/ruby.h instead of the

declaration of rb_warn().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2012-12-07 14:44:02 +00:00
parent 3bbffbc7dd
commit c36d15f206
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 7 23:42:11 2012 Shugo Maeda <shugo@ruby-lang.org>
* ext/refinement/refinement.c: include ruby/ruby.h instead of the
declaration of rb_warn().
Fri Dec 7 16:07:00 2012 Zachary Scott <zachary@zacharyscott.net>
* doc/etc.rd: Removed stale documentation file

View file

@ -1,11 +1,6 @@
#include "ruby/ruby.h"
void ruby_Init_refinement(void);
#ifdef __GNUC__
#define PRINTF_ARGS(decl, string_index, first_to_check) \
decl __attribute__((format(printf, string_index, first_to_check)))
#else
#define PRINTF_ARGS(decl, string_index, first_to_check) decl
#endif
PRINTF_ARGS(void rb_warn(const char*, ...), 1, 2);
void
Init_refinement(void)