From 52577843c3d8afe53938212ceb6d967c9b74b3c4 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Wed, 29 Jun 2022 14:44:45 -0500 Subject: [PATCH] Update method to match variable name --- include/gargoyle.h | 2 +- src/gargoyle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gargoyle.h b/include/gargoyle.h index 32c5730..70c2da0 100644 --- a/include/gargoyle.h +++ b/include/gargoyle.h @@ -5,7 +5,7 @@ #include #include -uint8_t gargoyle_digest_args(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags); +uint8_t gargoyle_digest_argv(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags); uint8_t gargoyle_digest_envh(uint16_t optc, struct gargoyle_opt *optv, const char *prefix, uint16_t prefix_sz, char ***envh, gargoyle_flag_type flags); #endif diff --git a/src/gargoyle.c b/src/gargoyle.c index c28981d..d6356f9 100644 --- a/src/gargoyle.c +++ b/src/gargoyle.c @@ -4,7 +4,7 @@ #include #include -uint8_t gargoyle_digest_args(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags) { +uint8_t gargoyle_digest_argv(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags) { if(!(flags & GARGOYLE_FLG_GREED)) { *argc -= 1; *argv += 1;