From: Jim Meyering <meyering(a)redhat.com>
* daemon/daemon.h (main_loop): Use "noreturn" attribute.
---
daemon/daemon.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 2a2b840..0ce56e1 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -91,7 +91,7 @@ extern guestfs_int_lvm_vg_list *parse_command_line_vgs (void);
extern guestfs_int_lvm_lv_list *parse_command_line_lvs (void);
/*-- in proto.c --*/
-extern void main_loop (int sock);
+extern void main_loop (int sock) __attribute__((noreturn));
/* ordinary daemon functions use these to indicate errors */
extern void reply_with_error (const char *fs, ...)
--
1.6.4.378.g88f2f