git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0ab84
)
daemon.h: avoid warning about possible noreturn function
author
Jim Meyering
<meyering@redhat.com>
Mon, 17 Aug 2009 07:51:52 +0000
(09:51 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 17 Aug 2009 09:40:24 +0000
(11:40 +0200)
* daemon/daemon.h (main_loop): Use "noreturn" attribute.
daemon/daemon.h
patch
|
blob
|
history
diff --git
a/daemon/daemon.h
b/daemon/daemon.h
index
2a2b840
..
0ce56e1
100644
(file)
--- 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, ...)