summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2017-11-29 14:31:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2017-11-29 14:31:51 +0000
commit8272b7f642e19454b9c397a0f5c9f143921e70e5 (patch)
treecd84a9e8f9c31292c766ee22bcea37564331f13d /regress/usr.bin
parent120db0b59b235edd9e501ca09a506ebf7f8d94f0 (diff)
fix decl of main
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/bc/t19.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/bc/t19.c b/regress/usr.bin/bc/t19.c
index 4a46760c673..0211c6c384a 100644
--- a/regress/usr.bin/bc/t19.c
+++ b/regress/usr.bin/bc/t19.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t19.c,v 1.3 2014/11/26 15:23:13 otto Exp $ */
+/* $OpenBSD: t19.c,v 1.4 2017/11/29 14:31:50 otto Exp $ */
/*
* Copyright (c) 2012 Otto Moerbeek <otto@drijf.net>
@@ -34,7 +34,8 @@ struct func funcs[] = { {"s", sinl},
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
-main()
+int
+main(void)
{
int ret, si, ni, fi;
int status = 0;