summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2017-11-29 14:31:50 +0000
committerotto <otto@openbsd.org>2017-11-29 14:31:50 +0000
commit9ed65827c8fabf716d52286a3224594ceb4c9043 (patch)
treefaf4eae3ef7ea5dec5c658f9209d70360c4e24a5
parentTest invalid divert combinations and adapt error messages. (diff)
downloadwireguard-openbsd-9ed65827c8fabf716d52286a3224594ceb4c9043.tar.xz
wireguard-openbsd-9ed65827c8fabf716d52286a3224594ceb4c9043.zip
fix decl of main
-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;