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
9ee468ce
Commit
9ee468ce
authored
Nov 01, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Remove unused function strcopy
parent
d9f54518
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
tests/nghttp2_test_helper.c
tests/nghttp2_test_helper.c
+0
-9
tests/nghttp2_test_helper.h
tests/nghttp2_test_helper.h
+0
-2
No files found.
tests/nghttp2_test_helper.c
View file @
9ee468ce
...
...
@@ -59,15 +59,6 @@ ssize_t unpack_frame_with_nv_block(nghttp2_frame *frame,
return
rv
;
}
char
*
strcopy
(
const
char
*
s
)
{
size_t
len
=
strlen
(
s
);
char
*
dest
=
malloc
(
len
+
1
);
memcpy
(
dest
,
s
,
len
);
dest
[
len
]
=
'\0'
;
return
dest
;
}
int
strmemeq
(
const
char
*
a
,
const
uint8_t
*
b
,
size_t
bn
)
{
const
uint8_t
*
c
;
...
...
tests/nghttp2_test_helper.h
View file @
9ee468ce
...
...
@@ -41,8 +41,6 @@ ssize_t unpack_frame_with_nv_block(nghttp2_frame *frame,
nghttp2_hd_context
*
inflater
,
const
uint8_t
*
in
,
size_t
len
);
char
*
strcopy
(
const
char
*
s
);
int
strmemeq
(
const
char
*
a
,
const
uint8_t
*
b
,
size_t
bn
);
int
nvnameeq
(
const
char
*
a
,
nghttp2_nv
*
nv
);
...
...
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