Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
bbf5cd01
Commit
bbf5cd01
authored
Jan 12, 2015
by
Damien George
Browse files
py: Allow to compile with -Wstrict-prototypes.
parent
30d8a822
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/mp-readline/readline.h
View file @
bbf5cd01
...
...
@@ -34,5 +34,5 @@ void readline_init0(void);
int
readline
(
vstr_t
*
line
,
const
char
*
prompt
);
void
readline_init
(
vstr_t
*
line
);
void
readline_note_newline
();
void
readline_note_newline
(
void
);
int
readline_process_char
(
int
c
);
py/objfun.c
View file @
bbf5cd01
...
...
@@ -300,7 +300,7 @@ typedef struct _mp_obj_fun_native_t {
// TODO add mp_map_t *globals
}
mp_obj_fun_native_t
;
typedef
mp_obj_t
(
*
native_fun_0_t
)();
typedef
mp_obj_t
(
*
native_fun_0_t
)(
void
);
typedef
mp_obj_t
(
*
native_fun_1_t
)(
mp_obj_t
);
typedef
mp_obj_t
(
*
native_fun_2_t
)(
mp_obj_t
,
mp_obj_t
);
typedef
mp_obj_t
(
*
native_fun_3_t
)(
mp_obj_t
,
mp_obj_t
,
mp_obj_t
);
...
...
@@ -360,7 +360,7 @@ typedef struct _mp_obj_fun_viper_t {
mp_uint_t
type_sig
;
}
mp_obj_fun_viper_t
;
typedef
mp_uint_t
(
*
viper_fun_0_t
)();
typedef
mp_uint_t
(
*
viper_fun_0_t
)(
void
);
typedef
mp_uint_t
(
*
viper_fun_1_t
)(
mp_uint_t
);
typedef
mp_uint_t
(
*
viper_fun_2_t
)(
mp_uint_t
,
mp_uint_t
);
typedef
mp_uint_t
(
*
viper_fun_3_t
)(
mp_uint_t
,
mp_uint_t
,
mp_uint_t
);
...
...
@@ -417,7 +417,7 @@ typedef struct _mp_obj_fun_asm_t {
void
*
fun_data
;
// GC must be able to trace this pointer
}
mp_obj_fun_asm_t
;
typedef
mp_uint_t
(
*
inline_asm_fun_0_t
)();
typedef
mp_uint_t
(
*
inline_asm_fun_0_t
)(
void
);
typedef
mp_uint_t
(
*
inline_asm_fun_1_t
)(
mp_uint_t
);
typedef
mp_uint_t
(
*
inline_asm_fun_2_t
)(
mp_uint_t
,
mp_uint_t
);
typedef
mp_uint_t
(
*
inline_asm_fun_3_t
)(
mp_uint_t
,
mp_uint_t
,
mp_uint_t
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment