]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tcp_probe.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-2.6-omap-h63xx.git] / net / ipv4 / tcp_probe.c
index 760165a0800c317884015f7997b3106aa7ad8562..d9323dfff82620487b413ce9e6b61fa426108e37 100644 (file)
@@ -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.