mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: add gcc attribute for printf parameter
This commit is contained in:
parent
2e39392daf
commit
698137ec38
@ -1341,7 +1341,8 @@ int dm_fclose(FILE *stream);
|
|||||||
*/
|
*/
|
||||||
int dm_asprintf(char **buf, const char *format, ...)
|
int dm_asprintf(char **buf, const char *format, ...)
|
||||||
__attribute__ ((format(printf, 2, 3)));
|
__attribute__ ((format(printf, 2, 3)));
|
||||||
int dm_vasprintf(char **buf, const char *format, va_list ap);
|
int dm_vasprintf(char **buf, const char *format, va_list ap)
|
||||||
|
__attribute__ ((format(printf, 2, 0)));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* create lockfile (pidfile) - create and lock a lock file
|
* create lockfile (pidfile) - create and lock a lock file
|
||||||
|
Loading…
Reference in New Issue
Block a user