From 82a5f441ccc8286885bcab082560207d50acfefd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 17 Aug 2009 09:51:52 +0200 Subject: [PATCH] daemon.h: avoid warning about possible noreturn function * daemon/daemon.h (main_loop): Use "noreturn" attribute. --- daemon/daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.8.3.1