summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/cifsdd.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c
index 1cd0b64ca6..adf2d72af2 100644
--- a/source4/client/cifsdd.c
+++ b/source4/client/cifsdd.c
@@ -60,19 +60,18 @@ static void dd_handle_signal(int sig)
/* Argument handling. */
/* ------------------------------------------------------------------------- */
+static const struct {
+ enum argtype arg_type;
+ const char * arg_name;
+} names [] = {
+ { ARG_NUMERIC, "COUNT" },
+ { ARG_SIZE, "SIZE" },
+ { ARG_PATHNAME, "FILE" },
+ { ARG_BOOL, "BOOLEAN" },
+};
+
static const char * argtype_str(enum argtype arg_type)
{
- static const struct {
- enum argtype arg_type;
- const char * arg_name;
- } names [] =
- {
- { ARG_NUMERIC, "COUNT" },
- { ARG_SIZE, "SIZE" },
- { ARG_PATHNAME, "FILE" },
- { ARG_BOOL, "BOOLEAN" },
- };
-
int i;
for (i = 0; i < ARRAY_SIZE(names); ++i) {