diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2024-07-15 10:11:57 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2024-07-15 10:11:57 +0000 |
commit | 456fdde922ce7d63e79517517394ae8649602f7b (patch) | |
tree | 642f1589a9cf43f257444c60d660d6542fdbecb7 /regress/lib/libc | |
parent | 7d80157f556d27722223363366de5306a9f5d40c (diff) |
fix signature of main()
Diffstat (limited to 'regress/lib/libc')
-rw-r--r-- | regress/lib/libc/regex/t_exhaust.c | 7 |
1 files 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; } - |