Commit Diff


commit - 72151b04d0a9eb62823b0769601163f9ecf224d1
commit + 10689f3a4e8324ff47f0192606e1b0962435ec46
blob - 737359cf3aae1b0bca724c568acc3c9b7949928c
blob + 8ac3f42bd600ad7877b6a4793eb7b96c9260ecd4
--- lib/error.c
+++ 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;