mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +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;
|
||||
}
|
||||
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user