From: otto Date: Wed, 29 Nov 2017 14:31:50 +0000 (+0000) Subject: fix decl of main X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ed65827c8fabf716d52286a3224594ceb4c9043;p=openbsd fix decl of main --- 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;