File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,20 +75,20 @@ static int32_t check_options(const zone_options_t *options)
75
75
#include "isadetection.h"
76
76
77
77
#if HAVE_HASWELL
78
- extern int32_t zone_haswell_parse (parser_t * , void * );
78
+ extern int32_t zone_haswell_parse (parser_t * );
79
79
#endif
80
80
81
81
#if HAVE_WESTMERE
82
- extern int32_t zone_westmere_parse (parser_t * , void * );
82
+ extern int32_t zone_westmere_parse (parser_t * );
83
83
#endif
84
84
85
- extern int32_t zone_fallback_parse (parser_t * , void * );
85
+ extern int32_t zone_fallback_parse (parser_t * );
86
86
87
87
typedef struct kernel kernel_t ;
88
88
struct kernel {
89
89
const char * name ;
90
90
uint32_t instruction_set ;
91
- int32_t (* parse )(parser_t * , void * );
91
+ int32_t (* parse )(parser_t * );
92
92
};
93
93
94
94
static const kernel_t kernels [] = {
@@ -136,7 +136,7 @@ static int32_t parse(parser_t *parser, void *user_data)
136
136
kernel = select_kernel ();
137
137
assert (kernel );
138
138
parser -> user_data = user_data ;
139
- return kernel -> parse (parser , user_data );
139
+ return kernel -> parse (parser );
140
140
}
141
141
142
142
diagnostic_push ()
You can’t perform that action at this time.
0 commit comments