From: Richard Jones Date: Thu, 26 Nov 2009 15:38:48 +0000 (+0000) Subject: daemon: Move prototypes around to keep functions grouped logically. X-Git-Tag: 1.0.80~17 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=940ef864d02584720e3ef4f55d680fa3432ba508;p=libguestfs.git daemon: Move prototypes around to keep functions grouped logically. --- diff --git a/daemon/daemon.h b/daemon/daemon.h index 6872bd7..612a6a6 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -102,9 +102,6 @@ extern guestfs_int_lvm_pv_list *parse_command_line_pvs (void); 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) __attribute__((noreturn)); - /*-- in optgroups.c (auto-generated) --*/ struct optgroup { const char *group; /* Name of the optional group. */ @@ -116,6 +113,9 @@ extern struct optgroup optgroups[]; /* Use this as a replacement for sync(2). */ extern int sync_disks (void); +/*-- in proto.c --*/ +extern void main_loop (int sock) __attribute__((noreturn)); + /* ordinary daemon functions use these to indicate errors */ extern void reply_with_error (const char *fs, ...) __attribute__((format (printf,1,2)));