From: anton Date: Mon, 15 Jul 2024 10:11:56 +0000 (+0000) Subject: fix signature of main() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5b46ea682d5edf3946b66939b27728f5542c88af;p=openbsd fix signature of main() --- 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; } -