fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well

This commit is contained in:
Frank Celler
2012-06-02 11:54:14 +02:00
parent 92f1925218
commit aeffe3f712
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ extern "C" {
typedef struct global_variable {
int counter;
mrb_value *data;
mrb_value (*getter)();
void (*setter)();
mrb_value (*getter)(void);
void (*setter)(void);
//void (*marker)();
//int block_trace;
//struct trace_var *trace;