summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-09 03:07:59 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-09 03:07:59 (GMT)
commit63efc86bf745b041f228235cdda62b2d4ceeba4e (patch)
treeb42ff73b6ad4104d61b9b2727ca68af5eda31c01 /addr2line.c
parentbf9169d5553094d7d37c6e4eeada24a9e296fbc1 (diff)
addr2line.c (kprintf): static
This function is not used outside of addr2line.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addr2line.c b/addr2line.c
index db46504..6028a2a 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -104,7 +104,7 @@ void *alloca();
#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)
(void)ret;
}
-int
+static int
kprintf(const char *fmt, ...)
{
va_list ap;