Browse Source

include/strv: fix format attributes

Reported-by: Jan Pazdziora <jpazdziora@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
pull/1361/head
Karel Zak 1 year ago
parent
commit
4355453406
  1. 7
      include/strv.h

7
include/strv.h

@ -13,9 +13,12 @@ unsigned strv_length(char * const *l);
int strv_extend_strv(char ***a, char **b);
int strv_extend_strv_concat(char ***a, char **b, const char *suffix);
int strv_extend(char ***l, const char *value);
int strv_extendv(char ***l, const char *format, va_list ap);
int strv_extendv(char ***l, const char *format, va_list ap)
__attribute__ ((__format__ (__printf__, 2, 0)));
int strv_extendf(char ***l, const char *format, ...)
__attribute__ ((__format__ (__printf__, 2, 0)));
__attribute__ ((__format__ (__printf__, 2, 3)));
int strv_push(char ***l, char *value);
int strv_push_prepend(char ***l, char *value);
int strv_consume(char ***l, char *value);

Loading…
Cancel
Save