diff libpurple/dnsquery.c @ 16642:c028fc690b5d

Mark two functions as "noreturn"
author Mark Doliner <mark@kingant.net>
date Sun, 29 Apr 2007 05:25:49 +0000
parents 2edbd4fede72
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/dnsquery.c	Sun Apr 29 03:50:11 2007 +0000
+++ b/libpurple/dnsquery.c	Sun Apr 29 05:25:49 2007 +0000
@@ -140,7 +140,7 @@
  * Begin the DNS resolver child process functions.
  */
 #ifdef HAVE_SIGNAL_H
-static void
+G_GNUC_NORETURN static void
 trap_gdb_bug()
 {
 	const char *message =
@@ -158,7 +158,7 @@
 }
 #endif
 
-static void
+G_GNUC_NORETURN static void
 purple_dnsquery_resolver_run(int child_out, int child_in, gboolean show_debug)
 {
 	dns_params_t dns_params;