From 9ed65827c8fabf716d52286a3224594ceb4c9043 Mon Sep 17 00:00:00 2001 From: otto Date: Wed, 29 Nov 2017 14:31:50 +0000 Subject: [PATCH] fix decl of main --- regress/usr.bin/bc/t19.c | 5 +++-- 1 file 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 @@ -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; -- 2.20.1