mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
config: Fix config_alloc prototype
This commit is contained in:
parent
ae59116945
commit
f43240794f
|
@ -33,7 +33,7 @@
|
||||||
* \brief Allocate memory for config object
|
* \brief Allocate memory for config object
|
||||||
* \return pointer to allocated memory
|
* \return pointer to allocated memory
|
||||||
*/
|
*/
|
||||||
config *config_alloc()
|
config *config_alloc(void)
|
||||||
{
|
{
|
||||||
config *cfg = (config *)malloc(sizeof(config));
|
config *cfg = (config *)malloc(sizeof(config));
|
||||||
if (!cfg) {
|
if (!cfg) {
|
||||||
|
|
|
@ -63,7 +63,7 @@ typedef struct
|
||||||
} config;
|
} config;
|
||||||
|
|
||||||
/* Function definitions */
|
/* Function definitions */
|
||||||
config *config_alloc();
|
config *config_alloc(void);
|
||||||
int config_init(config *cfg);
|
int config_init(config *cfg);
|
||||||
int config_destroy(config *cfg);
|
int config_destroy(config *cfg);
|
||||||
int config_read(config *cfg,int argc, char *argv[]);
|
int config_read(config *cfg,int argc, char *argv[]);
|
||||||
|
|
Loading…
Reference in a new issue