From 5b46ea682d5edf3946b66939b27728f5542c88af Mon Sep 17 00:00:00 2001 From: anton Date: Mon, 15 Jul 2024 10:11:56 +0000 Subject: [PATCH] fix signature of main() --- regress/lib/libc/regex/t_exhaust.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/regress/lib/libc/regex/t_exhaust.c b/regress/lib/libc/regex/t_exhaust.c index 58ac8007f2c..f54bab18dac 100644 --- a/regress/lib/libc/regex/t_exhaust.c +++ b/regress/lib/libc/regex/t_exhaust.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t_exhaust.c,v 1.3 2012/12/05 23:20:07 deraadt Exp $ */ +/* $OpenBSD: t_exhaust.c,v 1.4 2024/07/15 10:11:56 anton Exp $ */ /* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */ /*- @@ -158,8 +158,8 @@ static char *(*patterns[])(size_t) = { p6, }; - -main() +int +main(void) { regex_t re; int e, ret = 0; @@ -181,4 +181,3 @@ main() } return ret; } - -- 2.20.1