[libsoup/gnome-2-26: 22/29] Add another missing G_GNUC_NULL_TERMINATED and a G_GNUC_PRINTF



commit 43095b0a249d7f801119e920813028568dd1cc24
Author: Dan Winship <danw gnome org>
Date:   Fri May 8 16:59:36 2009 -0400

    Add another missing G_GNUC_NULL_TERMINATED and a G_GNUC_PRINTF
---
 libsoup/soup-value-utils.h |    2 +-
 libsoup/soup-xmlrpc.h      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libsoup/soup-value-utils.h b/libsoup/soup-value-utils.h
index a7f48b6..1d26526 100644
--- a/libsoup/soup-value-utils.h
+++ b/libsoup/soup-value-utils.h
@@ -50,7 +50,7 @@ gboolean     soup_value_hash_lookup         (GHashTable  *hash,
 					     ...);
 gboolean     soup_value_hash_lookup_vals    (GHashTable  *hash,
 					     const char  *first_key,
-					     ...);
+					     ...) G_GNUC_NULL_TERMINATED;
 
 GValueArray *soup_value_array_from_args     (va_list      args);
 gboolean     soup_value_array_to_args       (GValueArray *array,
diff --git a/libsoup/soup-xmlrpc.h b/libsoup/soup-xmlrpc.h
index de0f1f3..380a31e 100644
--- a/libsoup/soup-xmlrpc.h
+++ b/libsoup/soup-xmlrpc.h
@@ -46,7 +46,7 @@ void         soup_xmlrpc_set_response            (SoupMessage  *msg,
 void         soup_xmlrpc_set_fault               (SoupMessage  *msg,
 						  int           fault_code,
 						  const char   *fault_format,
-						  ...);
+						  ...) G_GNUC_PRINTF (3, 4);
 
 
 /* Errors */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]