diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-04-17 11:09:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-04-17 11:11:00 +0300 |
commit | 64e0af29bd38a1f8ca6573ec9734ae475ed8909b (patch) | |
tree | b416f9d9fb9e9eeca7d6535c90789b06b4dcead6 | |
parent | 9a6be3e53feb1a32e446419c6fef910eeca74f01 (diff) | |
download | rpm-64e0af29bd38a1f8ca6573ec9734ae475ed8909b.tar.gz rpm-64e0af29bd38a1f8ca6573ec9734ae475ed8909b.tar.bz2 rpm-64e0af29bd38a1f8ca6573ec9734ae475ed8909b.zip |
Have gcc check for NULL terminated arglist in rstrscat
-rw-r--r-- | rpmio/rpmstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmstring.h b/rpmio/rpmstring.h index 1947da2f5..54eeaf1e1 100644 --- a/rpmio/rpmstring.h +++ b/rpmio/rpmstring.h @@ -122,7 +122,7 @@ char *rstrcat(char **dest, const char *src); * @param arg NULL terminated list of strings to concatenate * @return realloc'd dest with strings appended */ -char *rstrscat(char **dest, const char *arg, ...); +char *rstrscat(char **dest, const char *arg, ...) RPM_GNUC_NULL_TERMINATED; /** \ingroup rpmstring * Split string into fields separated by a character. |