mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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, ...)
|
||||
__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
|
||||
|
Loading…
Reference in New Issue
Block a user