Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
660a0cdf
"vscode:/vscode.git/clone" did not exist on "141ac8df59c1d77e2f2a10792ff34b26eb13bcf0"
Commit
660a0cdf
authored
Feb 17, 2011
by
Pieter Noordhuis
Committed by
antirez
Apr 20, 2011
Browse files
Don't export unused function
parent
5b97a708
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/zipmap.c
View file @
660a0cdf
...
...
@@ -360,6 +360,8 @@ unsigned int zipmapLen(unsigned char *zm) {
return
len
;
}
#ifdef ZIPMAP_TEST_MAIN
void
zipmapRepr
(
unsigned
char
*
p
)
{
unsigned
int
l
;
...
...
@@ -393,7 +395,6 @@ void zipmapRepr(unsigned char *p) {
printf
(
"
\n
"
);
}
#ifdef ZIPMAP_TEST_MAIN
int
main
(
void
)
{
unsigned
char
*
zm
;
...
...
src/zipmap.h
View file @
660a0cdf
...
...
@@ -43,6 +43,5 @@ unsigned char *zipmapNext(unsigned char *zm, unsigned char **key, unsigned int *
int
zipmapGet
(
unsigned
char
*
zm
,
unsigned
char
*
key
,
unsigned
int
klen
,
unsigned
char
**
value
,
unsigned
int
*
vlen
);
int
zipmapExists
(
unsigned
char
*
zm
,
unsigned
char
*
key
,
unsigned
int
klen
);
unsigned
int
zipmapLen
(
unsigned
char
*
zm
);
void
zipmapRepr
(
unsigned
char
*
p
);
#endif
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