From 249bc5cea1e5b15ef0557028171fb48deb92da23 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Tue, 5 Jun 2007 00:19:24 -0700 Subject: [PATCH] --- yaml --- r: 57430 b: refs/heads/master c: 14a49e1fd2bb91ba2bf0e1f06711b6dbc21de02d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ipv4/tcp_probe.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index dee0681f9d73..4544b00c4b1f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 274707cff9810b784c548ed169298617a1bc3528 +refs/heads/master: 14a49e1fd2bb91ba2bf0e1f06711b6dbc21de02d diff --git a/trunk/net/ipv4/tcp_probe.c b/trunk/net/ipv4/tcp_probe.c index 760165a0800c..d9323dfff826 100644 --- a/trunk/net/ipv4/tcp_probe.c +++ b/trunk/net/ipv4/tcp_probe.c @@ -62,6 +62,9 @@ struct { * Print to log with timestamps. * FIXME: causes an extra copy */ +static void printl(const char *fmt, ...) + __attribute__ ((format (printf, 1, 2))); + static void printl(const char *fmt, ...) { va_list args; @@ -80,8 +83,7 @@ static void printl(const char *fmt, ...) kfifo_put(tcpw.fifo, tbuf, len); wake_up(&tcpw.wait); -} __attribute__ ((format (printf, 1, 2))); - +} /* * Hook inserted to be called before each receive packet.