mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Simplier attribute format
No need to repeat whole declaration for static function.
This commit is contained in:
parent
354a2a6769
commit
347e1afd53
@ -316,8 +316,7 @@ static int _line_start(struct output_line *outline)
|
|||||||
return 1;
|
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, ...)
|
static int _line_append(struct output_line *outline, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
Loading…
Reference in New Issue
Block a user