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
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) {
...
@@ -360,6 +360,8 @@ unsigned int zipmapLen(unsigned char *zm) {
return
len
;
return
len
;
}
}
#ifdef ZIPMAP_TEST_MAIN
void
zipmapRepr
(
unsigned
char
*
p
)
{
void
zipmapRepr
(
unsigned
char
*
p
)
{
unsigned
int
l
;
unsigned
int
l
;
...
@@ -393,7 +395,6 @@ void zipmapRepr(unsigned char *p) {
...
@@ -393,7 +395,6 @@ void zipmapRepr(unsigned char *p) {
printf
(
"
\n
"
);
printf
(
"
\n
"
);
}
}
#ifdef ZIPMAP_TEST_MAIN
int
main
(
void
)
{
int
main
(
void
)
{
unsigned
char
*
zm
;
unsigned
char
*
zm
;
...
...
src/zipmap.h
View file @
660a0cdf
...
@@ -43,6 +43,5 @@ unsigned char *zipmapNext(unsigned char *zm, unsigned char **key, unsigned int *
...
@@ -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
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
);
int
zipmapExists
(
unsigned
char
*
zm
,
unsigned
char
*
key
,
unsigned
int
klen
);
unsigned
int
zipmapLen
(
unsigned
char
*
zm
);
unsigned
int
zipmapLen
(
unsigned
char
*
zm
);
void
zipmapRepr
(
unsigned
char
*
p
);
#endif
#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