diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-26 15:38:48 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-26 17:16:17 +0000 |
commit | 940ef864d02584720e3ef4f55d680fa3432ba508 (patch) | |
tree | 3e64e6a62fbd3ebeaec9eeffa217a9818bcc982c | |
parent | bba019781a0df3744ccbfe9e580786b66dc9afa9 (diff) | |
download | libguestfs-940ef864d02584720e3ef4f55d680fa3432ba508.tar.gz libguestfs-940ef864d02584720e3ef4f55d680fa3432ba508.tar.xz libguestfs-940ef864d02584720e3ef4f55d680fa3432ba508.zip |
daemon: Move prototypes around to keep functions grouped logically.
-rw-r--r-- | daemon/daemon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h index 6872bd75..612a6a66 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))); |