ruby-changes:51699
From: normal <ko1@a...>
Date: Mon, 9 Jul 2018 12:08:04 +0900 (JST)
Subject: [ruby-changes:51699] normal:r63911 (trunk): addr2line.c (kprintf): static
normal 2018-07-09 12:07:59 +0900 (Mon, 09 Jul 2018) New Revision: 63911 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63911 Log: addr2line.c (kprintf): static This function is not used outside of addr2line.c Modified files: trunk/addr2line.c Index: addr2line.c =================================================================== --- addr2line.c (revision 63910) +++ addr2line.c (revision 63911) @@ -104,7 +104,7 @@ void *alloca(); https://github.com/ruby/ruby/blob/trunk/addr2line.c#L104 #define SHF_COMPRESSED 0 #endif -int kprintf(const char *fmt, ...); +static int kprintf(const char *fmt, ...); typedef struct { const char *dirname; @@ -851,7 +851,7 @@ static void putce(int c) https://github.com/ruby/ruby/blob/trunk/addr2line.c#L851 (void)ret; } -int +static int kprintf(const char *fmt, ...) { va_list ap; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/