Fix parameter names to make more sense

This commit is contained in:
Nick Chambers 2022-06-24 08:16:17 -05:00
parent f15b461612
commit 86a3ab5eca
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@
#include <stdint.h>
uint8_t gargoyle_from_bool(struct gargoyle_opt *opt, const char *brand);
uint8_t gargoyle_from_rope(struct gargoyle_opt *opt, const char *brand);
uint8_t gargoyle_from_rope(struct gargoyle_opt *opt, const char *brand_val);
#endif

View File

@ -12,7 +12,7 @@ uint8_t gargoyle_from_bool(struct gargoyle_opt *opt, const char *brand) {
return 0;
}
uint8_t gargoyle_from_rope(struct gargoyle_opt *opt, const char *brand) {
uint8_t gargoyle_from_rope(struct gargoyle_opt *opt, const char *brand_val) {
if(opt->type & GARGOYLE_TYPE_UINT) {
char *end = NULL;
uint64_t *val = opt->val;