summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test1.c b/test/test1.c
index f6a7a70..1b1e98e 100644
--- a/test/test1.c
+++ b/test/test1.c
@@ -24,11 +24,13 @@ s_arg_float ratio_float =
.val = 0.8
};
+char *color_list[] = {"RED","GREEN","BLUE"};
+
s_arg_list color_name_list =
{
.num = 3,
.default_val = "RED",
- .vals = {"RED","GREEN","BLUE"}
+ .vals = color_list
};
s_arg_val number_val =