Skip to contentSkip to conversation

LVM2/libdm libdm-config.c

PATCH [email protected] 1 participant 1 message Sep 25, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-09-25 19:40:29

Modified files:
libdm : libdm-config.c

Log message:
Simplier attribute format

No need to repeat whole declaration for static function.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-config.c.diff?cvsroot=lvm2&r1=1.8&r2=1.9

libdm/libdm-config.c +1 -2
@@ -316,8 +316,7 @@
 	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];