summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranton <>2024-07-15 10:11:56 +0000
committeranton <>2024-07-15 10:11:56 +0000
commitce786f8f377f8c77e8b0986312286af97c5145bf (patch)
tree8c9f9b5e47b0face23c9c89e6aea53d5918c8236
parent4586d54027e4b3be982129cc8b64dc8b6cfc1edd (diff)
downloadopenbsd-ce786f8f377f8c77e8b0986312286af97c5145bf.tar.gz
openbsd-ce786f8f377f8c77e8b0986312286af97c5145bf.tar.bz2
openbsd-ce786f8f377f8c77e8b0986312286af97c5145bf.zip
fix signature of main()
-rw-r--r--src/regress/lib/libc/regex/t_exhaust.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/regress/lib/libc/regex/t_exhaust.c b/src/regress/lib/libc/regex/t_exhaust.c
index 58ac8007f2..f54bab18da 100644
--- a/src/regress/lib/libc/regex/t_exhaust.c
+++ b/src/regress/lib/libc/regex/t_exhaust.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_exhaust.c,v 1.3 2012/12/05 23:20:07 deraadt Exp $ */ 1/* $OpenBSD: t_exhaust.c,v 1.4 2024/07/15 10:11:56 anton Exp $ */
2/* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */ 2/* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */
3 3
4/*- 4/*-
@@ -158,8 +158,8 @@ static char *(*patterns[])(size_t) = {
158 p6, 158 p6,
159}; 159};
160 160
161 161int
162main() 162main(void)
163{ 163{
164 regex_t re; 164 regex_t re;
165 int e, ret = 0; 165 int e, ret = 0;
@@ -181,4 +181,3 @@ main()
181 } 181 }
182 return ret; 182 return ret;
183} 183}
184