Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
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
nghttp2
Commits
88e635e0
Commit
88e635e0
authored
Jun 01, 2016
by
Alexis La Goutte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning: declaration of 'free' shadows a global declaration
With some old OS X release
parent
3753b474
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/nghttp2_mem.c
lib/nghttp2_mem.c
+2
-2
lib/nghttp2_mem.h
lib/nghttp2_mem.h
+1
-1
No files found.
lib/nghttp2_mem.c
View file @
88e635e0
...
@@ -52,8 +52,8 @@ void nghttp2_mem_free(nghttp2_mem *mem, void *ptr) {
...
@@ -52,8 +52,8 @@ void nghttp2_mem_free(nghttp2_mem *mem, void *ptr) {
mem
->
free
(
ptr
,
mem
->
mem_user_data
);
mem
->
free
(
ptr
,
mem
->
mem_user_data
);
}
}
void
nghttp2_mem_free2
(
nghttp2_free
free
,
void
*
ptr
,
void
*
mem_user_data
)
{
void
nghttp2_mem_free2
(
nghttp2_free
free
_func
,
void
*
ptr
,
void
*
mem_user_data
)
{
free
(
ptr
,
mem_user_data
);
free
_func
(
ptr
,
mem_user_data
);
}
}
void
*
nghttp2_mem_calloc
(
nghttp2_mem
*
mem
,
size_t
nmemb
,
size_t
size
)
{
void
*
nghttp2_mem_calloc
(
nghttp2_mem
*
mem
,
size_t
nmemb
,
size_t
size
)
{
...
...
lib/nghttp2_mem.h
View file @
88e635e0
...
@@ -38,7 +38,7 @@ nghttp2_mem *nghttp2_mem_default(void);
...
@@ -38,7 +38,7 @@ nghttp2_mem *nghttp2_mem_default(void);
|mem|. */
|mem|. */
void
*
nghttp2_mem_malloc
(
nghttp2_mem
*
mem
,
size_t
size
);
void
*
nghttp2_mem_malloc
(
nghttp2_mem
*
mem
,
size_t
size
);
void
nghttp2_mem_free
(
nghttp2_mem
*
mem
,
void
*
ptr
);
void
nghttp2_mem_free
(
nghttp2_mem
*
mem
,
void
*
ptr
);
void
nghttp2_mem_free2
(
nghttp2_free
free
,
void
*
ptr
,
void
*
mem_user_data
);
void
nghttp2_mem_free2
(
nghttp2_free
free
_func
,
void
*
ptr
,
void
*
mem_user_data
);
void
*
nghttp2_mem_calloc
(
nghttp2_mem
*
mem
,
size_t
nmemb
,
size_t
size
);
void
*
nghttp2_mem_calloc
(
nghttp2_mem
*
mem
,
size_t
nmemb
,
size_t
size
);
void
*
nghttp2_mem_realloc
(
nghttp2_mem
*
mem
,
void
*
ptr
,
size_t
size
);
void
*
nghttp2_mem_realloc
(
nghttp2_mem
*
mem
,
void
*
ptr
,
size_t
size
);
...
...
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