summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-03-06 20:28:32 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-03-06 20:29:40 +0100
commit20e265d4bbebb927e5020ebe57ff062609468484 (patch)
tree6476f9991e4631cb9696c28c572dc4c0431aafef
parentd22f1006a1910e32ff099330d70badaf2aec75c6 (diff)
strv: set _printf_ on strv_extendf
-rw-r--r--src/shared/strv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h
index 2dc2bc6c49..b356d034c6 100644
--- a/src/shared/strv.h
+++ b/src/shared/strv.h
@@ -39,7 +39,7 @@ unsigned strv_length(char * const *l) _pure_;
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_extendf(char ***l, const char *format, ...);
+int strv_extendf(char ***l, const char *format, ...) _printf_(2,0);
int strv_push(char ***l, char *value);
int strv_consume(char ***l, char *value);