mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14: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
|
||||
* \return pointer to allocated memory
|
||||
*/
|
||||
config *config_alloc()
|
||||
config *config_alloc(void)
|
||||
{
|
||||
config *cfg = (config *)malloc(sizeof(config));
|
||||
if (!cfg) {
|
||||
|
|
|
@ -63,7 +63,7 @@ typedef struct
|
|||
} config;
|
||||
|
||||
/* Function definitions */
|
||||
config *config_alloc();
|
||||
config *config_alloc(void);
|
||||
int config_init(config *cfg);
|
||||
int config_destroy(config *cfg);
|
||||
int config_read(config *cfg,int argc, char *argv[]);
|
||||
|
|
Loading…
Reference in a new issue