diff libpurple/dnsquery.c @ 22016:aba0620b1a37

merge of '534709237b5a9cb6acf039eba7344401c9cf8ac4' and '80c543d5fbf1744fcd9a55288b6161233a4ed596'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 06 Jan 2008 19:02:57 +0000
parents 76e0463db3aa
children bfe1854bbf87
line wrap: on
line diff
--- a/libpurple/dnsquery.c	Sun Jan 06 19:01:24 2008 +0000
+++ b/libpurple/dnsquery.c	Sun Jan 06 19:02:57 2008 +0000
@@ -142,7 +142,7 @@
  */
 #ifdef HAVE_SIGNAL_H
 G_GNUC_NORETURN static void
-trap_gdb_bug()
+trap_gdb_bug(int sig)
 {
 	const char *message =
 		"Purple's DNS child got a SIGTRAP signal.\n"
@@ -286,7 +286,7 @@
  * Begin the functions for dealing with the DNS child processes.
  */
 static void
-cope_with_gdb_brokenness()
+cope_with_gdb_brokenness(void)
 {
 #ifdef __linux__
 	static gboolean already_done = FALSE;
@@ -460,7 +460,7 @@
 static void host_resolved(gpointer data, gint source, PurpleInputCondition cond);
 
 static void
-handle_next_queued_request()
+handle_next_queued_request(void)
 {
 	PurpleDnsQueryData *query_data;
 	PurpleDnsQueryResolverProcess *resolver;