From 86a3ab5eca4bc38d88b4a3b3fb8c07d87101386b Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Fri, 24 Jun 2022 08:16:17 -0500 Subject: [PATCH] Fix parameter names to make more sense --- include/gargoyle/scribe.h | 2 +- src/scribe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gargoyle/scribe.h b/include/gargoyle/scribe.h index eb921fb..daa6c90 100644 --- a/include/gargoyle/scribe.h +++ b/include/gargoyle/scribe.h @@ -5,6 +5,6 @@ #include 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 diff --git a/src/scribe.c b/src/scribe.c index 53ae2b4..e9a2834 100644 --- a/src/scribe.c +++ b/src/scribe.c @@ -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;