1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

Simplier attribute format

No need to repeat whole declaration for static function.
This commit is contained in:
Zdenek Kabelac 2011-09-25 19:40:29 +00:00
parent 354a2a6769
commit 347e1afd53

View 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];