Rename variable and structure names.

This commit is contained in:
gamemann
2021-11-12 16:58:14 +00:00
parent 90a79e0338
commit 2d9138b8d9
3 changed files with 56 additions and 56 deletions

View File

@@ -10,7 +10,7 @@
FILE *file;
void setcfgdefaults(struct config_map *cfg)
void setcfgdefaults(struct config *cfg)
{
cfg->updateTime = 0;
cfg->interface = "eth0";
@@ -93,7 +93,7 @@ int opencfg(const char *FileName)
return 0;
}
int readcfg(struct config_map *cfg)
int readcfg(struct config *cfg)
{
// Not sure why this would be set to NULL after checking for it in OpenConfig(), but just for safety.
if (file == NULL)