changeset 16634:c028fc690b5d

Mark two functions as "noreturn"
author Mark Doliner <mark@kingant.net>
date Sun, 29 Apr 2007 05:25:49 +0000
parents 2b12b143a529
children 93f17ae94a1b
files libpurple/dnsquery.c libpurple/dnssrv.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
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;
--- a/libpurple/dnssrv.c	Sun Apr 29 03:50:11 2007 +0000
+++ b/libpurple/dnssrv.c	Sun Apr 29 05:25:49 2007 +0000
@@ -92,7 +92,7 @@
 
 #ifndef _WIN32
 
-static void
+G_GNUC_NORETURN static void
 resolve(int in, int out)
 {
 	GList *ret = NULL;