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

Add PRINTF_ARGS to kprintf

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-07-31 15:20:54 +00:00
parent e4aca2243a
commit ae83c35b90
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@
**********************************************************************/
#include "ruby/config.h"
#include "ruby/defines.h"
#include "ruby/missing.h"
#include "addr2line.h"
@ -104,7 +105,7 @@ void *alloca();
#define SHF_COMPRESSED 0
#endif
static int kprintf(const char *fmt, ...);
PRINTF_ARGS(static int kprintf(const char *fmt, ...), 1, 2);
typedef struct {
const char *dirname;

View file

@ -1424,6 +1424,7 @@ help: PHONY
addr2line.$(OBJEXT): {$(VPATH)}addr2line.c
addr2line.$(OBJEXT): {$(VPATH)}addr2line.h
addr2line.$(OBJEXT): {$(VPATH)}config.h
addr2line.$(OBJEXT): {$(VPATH)}defines.h
addr2line.$(OBJEXT): {$(VPATH)}missing.h
array.$(OBJEXT): $(hdrdir)/ruby/ruby.h
array.$(OBJEXT): $(top_srcdir)/include/ruby.h