Fix parameter names to make more sense
This commit is contained in:
parent
f15b461612
commit
86a3ab5eca
|
@ -5,6 +5,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
uint8_t gargoyle_from_bool(struct gargoyle_opt *opt, const char *brand);
|
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
|
#endif
|
||||||
|
|
|
@ -12,7 +12,7 @@ uint8_t gargoyle_from_bool(struct gargoyle_opt *opt, const char *brand) {
|
||||||
return 0;
|
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) {
|
if(opt->type & GARGOYLE_TYPE_UINT) {
|
||||||
char *end = NULL;
|
char *end = NULL;
|
||||||
uint64_t *val = opt->val;
|
uint64_t *val = opt->val;
|
||||||
|
|
Loading…
Reference in New Issue