diff libpurple/request.h @ 18179:72906c5ac037

Add G_GNUC_NULL_TERMINATED to a few functions that expect a NULL terminated list of things. This will generate some _useful_ compile warnings, for a change, when such functions are invoked without appending a NULL at the end.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 18 Jun 2007 12:43:44 +0000
parents ab6d2763b8d8
children cc36a5aac908 9a31c183b470
line wrap: on
line diff
--- a/libpurple/request.h	Sun Jun 17 23:42:32 2007 +0000
+++ b/libpurple/request.h	Mon Jun 18 12:43:44 2007 +0000
@@ -1228,7 +1228,7 @@
 						  const char *ok_text, GCallback ok_cb,
 						  const char *cancel_text, GCallback cancel_cb,
 						  PurpleAccount *account, const char *who, PurpleConversation *conv,
-						  void *user_data, ...);
+						  void *user_data, ...) G_GNUC_NULL_TERMINATED;
 
 /**
  * Prompts the user for multiple-choice input.