File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ This is a collection of basic libraries.
15
15
## Data Struct
16
16
| | |
17
17
| --| --|
18
- | libdict: Hash key-value dictonary library | libhash: Hash key-value library based on hlist from kernel |
18
+ | libdict: Hash key-value dictionary library | libhash: Hash key-value library based on hlist from kernel |
19
19
| libringbuffer: | libqueue: queue library, support memory hook |
20
20
| librbtree: comes from linux kernel rbtree. | libsort: |
21
21
| libvector: | libdarray: Dynamic array |
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ void gevent_destroy(struct gevent *e)
321
321
int gevent_add (struct gevent_base * eb , struct gevent * * e )
322
322
{
323
323
if (!e || !eb ) {
324
- printf ("%s:%d paraments is NULL\n" , __func__ , __LINE__ );
324
+ printf ("%s:%d parameters is NULL\n" , __func__ , __LINE__ );
325
325
return -1 ;
326
326
}
327
327
da_push_back (eb -> ev_array , e );
@@ -332,7 +332,7 @@ int gevent_del(struct gevent_base *eb, struct gevent **e)
332
332
{
333
333
int ret ;
334
334
if (!e || !eb ) {
335
- printf ("%s:%d paraments is NULL\n" , __func__ , __LINE__ );
335
+ printf ("%s:%d parameters is NULL\n" , __func__ , __LINE__ );
336
336
return -1 ;
337
337
}
338
338
ret = eb -> ops -> del (eb , * e );
@@ -343,7 +343,7 @@ int gevent_del(struct gevent_base *eb, struct gevent **e)
343
343
int gevent_mod (struct gevent_base * eb , struct gevent * * e )
344
344
{
345
345
if (!e || !eb ) {
346
- printf ("%s:%d paraments is NULL\n" , __func__ , __LINE__ );
346
+ printf ("%s:%d parameters is NULL\n" , __func__ , __LINE__ );
347
347
return -1 ;
348
348
}
349
349
da_erase_item (eb -> ev_array , e );
You can’t perform that action at this time.
0 commit comments