Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
2109a99e
Commit
2109a99e
authored
Apr 26, 2013
by
Masaki Muranaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add void to function parameters. This is for compatibility with C++
parent
5c510180
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/load.c
src/load.c
+1
-1
src/pool.c
src/pool.c
+1
-1
No files found.
src/load.c
View file @
2109a99e
...
@@ -55,7 +55,7 @@ irep_free(size_t sirep, mrb_state *mrb)
...
@@ -55,7 +55,7 @@ irep_free(size_t sirep, mrb_state *mrb)
}
}
static
size_t
static
size_t
offset_crc_body
()
offset_crc_body
(
void
)
{
{
struct
rite_binary_header
header
;
struct
rite_binary_header
header
;
return
((
uint8_t
*
)
header
.
binary_crc
-
(
uint8_t
*
)
&
header
)
+
sizeof
(
header
.
binary_crc
);
return
((
uint8_t
*
)
header
.
binary_crc
-
(
uint8_t
*
)
&
header
)
+
sizeof
(
header
.
binary_crc
);
...
...
src/pool.c
View file @
2109a99e
...
@@ -171,7 +171,7 @@ mrb_pool_realloc(mrb_pool *pool, void *p, size_t oldlen, size_t newlen)
...
@@ -171,7 +171,7 @@ mrb_pool_realloc(mrb_pool *pool, void *p, size_t oldlen, size_t newlen)
#ifdef TEST_POOL
#ifdef TEST_POOL
int
int
main
()
main
(
void
)
{
{
int
i
,
len
=
250
;
int
i
,
len
=
250
;
mrb_pool
*
pool
;
mrb_pool
*
pool
;
...
...
Write
Preview
Markdown
is supported
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