From: tb Date: Sun, 4 Feb 2024 20:51:21 +0000 (+0000) Subject: More missing void X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=889f10797414f928eff83254d65816caef5d91f3;p=openbsd More missing void From Christian Andersen --- diff --git a/regress/lib/libc/timingsafe/timingsafe.c b/regress/lib/libc/timingsafe/timingsafe.c index f6605f8696a..d768a808b6f 100644 --- a/regress/lib/libc/timingsafe/timingsafe.c +++ b/regress/lib/libc/timingsafe/timingsafe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timingsafe.c,v 1.3 2014/06/21 22:57:15 tedu Exp $ */ +/* $OpenBSD: timingsafe.c,v 1.4 2024/02/04 20:51:21 tb Exp $ */ /* * Copyright (c) 2014 Google Inc. * @@ -28,7 +28,7 @@ enum { static unsigned char bufone[N], buftwo[N]; void -check() +check(void) { int cmp = memcmp(bufone, buftwo, N); @@ -49,7 +49,7 @@ check() } int -main() +main(void) { int i, j;