commit
cae28a8e67
@ -3,3 +3,4 @@
|
|||||||
|
|
||||||
# Java rate limiting library/framework
|
# Java rate limiting library/framework
|
||||||
# https://github.com/wangzheng0822/ratelimiter4j
|
# https://github.com/wangzheng0822/ratelimiter4j
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ struct single_list** search(struct single_list_head* head, int target)
|
|||||||
|
|
||||||
void reverse(struct single_list_head* head)
|
void reverse(struct single_list_head* head)
|
||||||
{
|
{
|
||||||
struct single_list_head tmp;
|
struct single_list_head tmp = {NULL};
|
||||||
struct single_list *elem;
|
struct single_list *elem;
|
||||||
|
|
||||||
while (!is_empty(head)) {
|
while (!is_empty(head)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user