Commit 10689f3a4e8324ff47f0192606e1b0962435ec46

joshua stein 2019-05-11T10:30:34

error: fix definition of got_error_from_errno

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/error.c b/lib/error.c
index 737359c..8ac3f42 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -67,7 +67,7 @@ got_error_msg(int code, const char *msg)
 }
 
 const struct got_error *
-got_error_from_errno()
+got_error_from_errno(void)
 {
 	static struct got_error err;