From: Jim Meyering Date: Mon, 17 Aug 2009 07:51:52 +0000 (+0200) Subject: daemon.h: avoid warning about possible noreturn function X-Git-Tag: 1.0.68~39 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=82a5f441ccc8286885bcab082560207d50acfefd;p=libguestfs.git daemon.h: avoid warning about possible noreturn function * daemon/daemon.h (main_loop): Use "noreturn" attribute. --- 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, ...)