File tree 2 files changed +1
-26
lines changed
2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,7 @@ EXPORT_FUNCS = \
13
13
--export=deallocate,$\
14
14
--export=invoke,$\
15
15
--export=load,$\
16
- --export=store,$\
17
- --export=redis_allocate,$\
18
- --export=redis_deallocate,$\
19
- --export=redis_invoke,$\
20
- --export=redis_load,$\
21
- --export=redis_store
16
+ --export=store
22
17
23
18
REDIS_SERVER_SRC = \
24
19
adlist.c\
Original file line number Diff line number Diff line change @@ -21,34 +21,18 @@ void* allocate(size_t size) {
21
21
return zmalloc (size + 1 );
22
22
}
23
23
24
- void * redis_allocate (size_t size ) {
25
- return allocate (size );
26
- }
27
-
28
24
void deallocate (void * ptr , int size ) {
29
25
zfree (ptr );
30
26
}
31
27
32
- void redis_deallocate (void * ptr , int size ) {
33
- deallocate (ptr , size );
34
- }
35
-
36
28
void store (char * ptr , unsigned char byte ) {
37
29
* ptr = byte ;
38
30
}
39
31
40
- void redis_store (char * ptr , unsigned char byte ) {
41
- store (ptr , byte );
42
- }
43
-
44
32
unsigned char load (const unsigned char * ptr ) {
45
33
return * ptr ;
46
34
}
47
35
48
- unsigned char redis_load (const unsigned char * ptr ) {
49
- return load (ptr );
50
- }
51
-
52
36
// Cleans client output buffers to - client is blocked and
53
37
// doesn't receive requests until output buffer isn't empty.
54
38
void clean_client_buffer (client * c ) {
@@ -145,7 +129,3 @@ const char *invoke(char *request, int request_size) {
145
129
146
130
return response ;
147
131
}
148
-
149
- const char * redis_invoke (char * request , int request_size ) {
150
- return invoke (request , request_size );
151
- }
You can’t perform that action at this time.
0 commit comments