From 940ef864d02584720e3ef4f55d680fa3432ba508 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 26 Nov 2009 15:38:48 +0000 Subject: [PATCH] daemon: Move prototypes around to keep functions grouped logically. --- daemon/daemon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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))); -- 1.8.3.1