From bec2555feb70be92bbd5685d9a43ae3138de382b Mon Sep 17 00:00:00 2001 From: "Chas Williams (CONTRACTOR)" Date: Fri, 9 May 2014 13:25:55 -0400 Subject: [PATCH] solaris: help fs_conv_sol26 build cleanly handleit(), being static, should be declared before usage. Change-Id: I5cf9767ed2fc552f7a22c7570d0a4d256a4111b1 Reviewed-on: http://gerrit.openafs.org/11134 Reviewed-by: Benjamin Kaduk Reviewed-by: Michael Meffie Reviewed-by: Perry Ruiter Tested-by: BuildBot Reviewed-by: D Brashear --- src/platform/SOLARIS/fs_conv_sol26.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/platform/SOLARIS/fs_conv_sol26.c b/src/platform/SOLARIS/fs_conv_sol26.c index b23acfe35..43eecbda4 100644 --- a/src/platform/SOLARIS/fs_conv_sol26.c +++ b/src/platform/SOLARIS/fs_conv_sol26.c @@ -53,20 +53,6 @@ char *rawname(), *unrawname(), *vol_DevName(), *blockcheck(); #define ROOTINODE 2 int force = 0, verbose = 0, unconv = 0; -static int -ConvCmd(struct cmd_syndesc *as, void *arock) -{ - unconv = 0; - handleit(as); -} - -static int -UnConvCmd(struct cmd_syndesc *as, void *arock) -{ - unconv = 1; - handleit(as); -} - static int handleit(struct cmd_syndesc *as) { @@ -179,6 +165,20 @@ handleit(struct cmd_syndesc *as) } } +static int +ConvCmd(struct cmd_syndesc *as, void *arock) +{ + unconv = 0; + handleit(as); +} + +static int +UnConvCmd(struct cmd_syndesc *as, void *arock) +{ + unconv = 1; + handleit(as); +} + #include "AFS_component_version_number.c" -- 2.39.5