diff options
author | Russ Allbery <rra@stanford.edu> | 2010-02-21 17:45:55 -0800 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-02-21 17:45:55 -0800 |
commit | 60210334fa3dbd5dd168199063c6ee850d750d0c (patch) | |
tree | 31e832ba6788076075d38e20ffd27ebf09430407 /portable/asprintf.c | |
parent | e571a8eb96f42de5a114cf11ff1c3d63e5a8d301 (diff) |
Imported Upstream version 0.10
Diffstat (limited to 'portable/asprintf.c')
-rw-r--r-- | portable/asprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portable/asprintf.c b/portable/asprintf.c index 9cae827..4219a19 100644 --- a/portable/asprintf.c +++ b/portable/asprintf.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * Replacement for a missing asprintf and vasprintf. * * Provides the same functionality as the standard GNU library routines @@ -19,7 +18,8 @@ #if TESTING # define asprintf test_asprintf # define vasprintf test_vasprintf -int test_asprintf(char **, const char *, ...); +int test_asprintf(char **, const char *, ...) + __attribute__((__format__(printf, 2, 3))); int test_vasprintf(char **, const char *, va_list); #endif |