summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-17 09:51:52 +0200
committerJim Meyering <meyering@redhat.com>2009-08-17 11:40:24 +0200
commit82a5f441ccc8286885bcab082560207d50acfefd (patch)
tree02f0f810769501b1f8538c0739c783134159ba40 /daemon/daemon.h
parent9b0ab841856ed7168171f6dceaede88dc9fbb9b2 (diff)
downloadlibguestfs-82a5f441ccc8286885bcab082560207d50acfefd.tar.gz
libguestfs-82a5f441ccc8286885bcab082560207d50acfefd.tar.xz
libguestfs-82a5f441ccc8286885bcab082560207d50acfefd.zip
daemon.h: avoid warning about possible noreturn function
* daemon/daemon.h (main_loop): Use "noreturn" attribute.
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 2a2b840a..0ce56e18 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, ...)