aboutsummaryrefslogtreecommitdiff
path: root/src/lib.c
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-24 18:03:18 -0300
committerEuAndreh <eu@euandre.org>2021-08-24 18:03:18 -0300
commit1c1bbf651948c47f80018c76c9af87724e09539f (patch)
tree71b360cc3fe9a34d3714f6de1a0108daf5be0d45 /src/lib.c
parentsrc/lib.c: Move unit_tests_gistatic to the end of the file (diff)
downloadgistatic-1c1bbf651948c47f80018c76c9af87724e09539f.tar.gz
gistatic-1c1bbf651948c47f80018c76c9af87724e09539f.tar.xz
src/lib.{c,h}: Make args to gistatic_main() const
Diffstat (limited to 'src/lib.c')
-rw-r--r--src/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.c b/src/lib.c
index b2f31f3..fdccc2b 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -2224,7 +2224,7 @@ cleanup:
return ret;
}
-int gistatic_main(int argc, char *argv[]) {
+int gistatic_main(const int argc, char *const argv[]) {
int ret = EXIT_SUCCESS;
bool cleanup_libgit = false;
catalog_descriptor = catopen(CATALOG_NAME, NL_CAT_LOCALE);