]> sourceware.org Git - lvm2.git/commitdiff
Simplier attribute format
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Sep 2011 19:40:29 +0000 (19:40 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Sep 2011 19:40:29 +0000 (19:40 +0000)
No need to repeat whole declaration for static function.

libdm/libdm-config.c

index 76477a663a57d5178178ebc55261222cecb65eb9..20944c98a19957ec431520fab2493e3c27b000da 100644 (file)
@@ -316,8 +316,7 @@ static int _line_start(struct output_line *outline)
        return 1;
 }
 
-static int _line_append(struct output_line *outline, const char *fmt, ...)
-  __attribute__ ((format(printf, 2, 3)));
+__attribute__ ((format(printf, 2, 3)))
 static int _line_append(struct output_line *outline, const char *fmt, ...)
 {
        char buf[4096];
This page took 0.042463 seconds and 5 git commands to generate.