error: fix definition of got_error_from_errno
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;