aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/git.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 11:34:49 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 11:37:46 +0200
commitdcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5 (patch)
tree52d28b110c66c601bc23dda09f1aa6cc53d820de /src/git.c
parentcommand: refactoring (diff)
downloadcimple-dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5.tar.gz
cimple-dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5.zip
use -std=c17 -Wpedantic
Diffstat (limited to 'src/git.c')
-rw-r--r--src/git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git.c b/src/git.c
index c2d63e3..4acf0e9 100644
--- a/src/git.c
+++ b/src/git.c
@@ -19,7 +19,7 @@
log_err("%s: %s\n", fn, msg); \
} while (0)
-int libgit_init()
+int libgit_init(void)
{
int ret = 0;
@@ -32,7 +32,7 @@ int libgit_init()
return 0;
}
-void libgit_shutdown()
+void libgit_shutdown(void)
{
git_libgit2_shutdown();
}