mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2693 from cubicdaiya/remove-duplicate-declarations
Removed duplicated declarations.
This commit is contained in:
@@ -439,6 +439,9 @@ MRB_API void* mrb_alloca(mrb_state *mrb, size_t);
|
||||
|
||||
MRB_API void mrb_state_atexit(mrb_state *mrb, mrb_atexit_func func);
|
||||
|
||||
MRB_API void mrb_show_version(mrb_state *mrb);
|
||||
MRB_API void mrb_show_copyright(mrb_state *mrb);
|
||||
|
||||
#ifdef MRB_DEBUG
|
||||
#include <assert.h>
|
||||
#define mrb_assert(p) assert(p)
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "apibreak.h"
|
||||
#include "apilist.h"
|
||||
|
||||
void mrb_show_version(mrb_state *);
|
||||
void mrb_show_copyright(mrb_state *);
|
||||
void mrdb_state_free(mrb_state *);
|
||||
|
||||
static mrb_debug_context *_debug_context = NULL;
|
||||
|
||||
@@ -193,9 +193,6 @@ is_code_block_open(struct mrb_parser_state *parser)
|
||||
return code_block_open;
|
||||
}
|
||||
|
||||
void mrb_show_version(mrb_state *);
|
||||
void mrb_show_copyright(mrb_state *);
|
||||
|
||||
struct _args {
|
||||
mrb_bool verbose : 1;
|
||||
int argc;
|
||||
|
||||
@@ -24,9 +24,6 @@ p(mrb_state *mrb, mrb_value obj)
|
||||
#define p(mrb,obj) mrb_p(mrb,obj)
|
||||
#endif
|
||||
|
||||
void mrb_show_version(mrb_state *);
|
||||
void mrb_show_copyright(mrb_state *);
|
||||
|
||||
struct _args {
|
||||
FILE *rfp;
|
||||
char* cmdline;
|
||||
|
||||
@@ -9,16 +9,6 @@
|
||||
#define RITEBIN_EXT ".mrb"
|
||||
#define C_EXT ".c"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
void mrb_show_version(mrb_state *);
|
||||
void mrb_show_copyright(mrb_state *);
|
||||
}
|
||||
#else
|
||||
void mrb_show_version(mrb_state *);
|
||||
void mrb_show_copyright(mrb_state *);
|
||||
#endif
|
||||
|
||||
struct mrbc_args {
|
||||
int argc;
|
||||
char **argv;
|
||||
|
||||
Reference in New Issue
Block a user