From 7efe05ab298ae18437c9796f43b9f47474763a39 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 28 Aug 2011 14:27:27 +0200 Subject: cmdutils: declare only one pointer type in OptionDef This will be useful in the following commit. --- cmdutils.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 2173f0d34b..e72c730fa7 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -125,11 +125,8 @@ typedef struct { #define OPT_EXIT 0x0800 #define OPT_DATA 0x1000 union { - int *int_arg; - char **str_arg; - float *float_arg; + void *dst_ptr; int (*func_arg)(const char *, const char *); - int64_t *int64_arg; } u; const char *help; const char *argname; -- cgit v1.2.3