Fix warning about function definitions without argument.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e81c5e2690
commit
cade15a437
@ -31,27 +31,27 @@ ksrarray* ksrarray_new(const size_t start_size);
|
|||||||
/**
|
/**
|
||||||
* Create a tiny sized ksrarray.
|
* Create a tiny sized ksrarray.
|
||||||
*/
|
*/
|
||||||
static inline ksrarray* ksrarray_new_tiny()
|
static inline ksrarray* ksrarray_new_tiny(void)
|
||||||
{ return ksrarray_new(KSRARRAY_TINY_SIZE); }
|
{ return ksrarray_new(KSRARRAY_TINY_SIZE); }
|
||||||
/**
|
/**
|
||||||
* Create a small sized ksrarray.
|
* Create a small sized ksrarray.
|
||||||
*/
|
*/
|
||||||
static inline ksrarray* ksrarray_new_small()
|
static inline ksrarray* ksrarray_new_small(void)
|
||||||
{ return ksrarray_new(KSRARRAY_SMALL_SIZE); }
|
{ return ksrarray_new(KSRARRAY_SMALL_SIZE); }
|
||||||
/**
|
/**
|
||||||
* Create a normal sized ksrarray.
|
* Create a normal sized ksrarray.
|
||||||
*/
|
*/
|
||||||
static inline ksrarray* ksrarray_new_basic()
|
static inline ksrarray* ksrarray_new_basic(void)
|
||||||
{ return ksrarray_new(KSRARRAY_BASIC_SIZE); }
|
{ return ksrarray_new(KSRARRAY_BASIC_SIZE); }
|
||||||
/**
|
/**
|
||||||
* Create a big sized ksrarray.
|
* Create a big sized ksrarray.
|
||||||
*/
|
*/
|
||||||
static inline ksrarray* ksrarray_new_big()
|
static inline ksrarray* ksrarray_new_big(void)
|
||||||
{ return ksrarray_new(KSRARRAY_BIG_SIZE); }
|
{ return ksrarray_new(KSRARRAY_BIG_SIZE); }
|
||||||
/**
|
/**
|
||||||
* Create a huge sized ksrarray.
|
* Create a huge sized ksrarray.
|
||||||
*/
|
*/
|
||||||
static inline ksrarray* ksrarray_new_huge()
|
static inline ksrarray* ksrarray_new_huge(void)
|
||||||
{ return ksrarray_new(KSRARRAY_HUGE_SIZE); }
|
{ return ksrarray_new(KSRARRAY_HUGE_SIZE); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,7 +29,7 @@ ksrbuffer* ksrbuffer_new_from_content(const size_t buffer_size, const char *buff
|
|||||||
/**
|
/**
|
||||||
* Create a buffer of default buffer size.
|
* Create a buffer of default buffer size.
|
||||||
*/
|
*/
|
||||||
static inline ksrbuffer* ksrbuffer_new_default()
|
static inline ksrbuffer* ksrbuffer_new_default(void)
|
||||||
{
|
{
|
||||||
return ksrbuffer_new(BUFSIZ);
|
return ksrbuffer_new(BUFSIZ);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user