From: tb Date: Fri, 5 May 2023 10:26:50 +0000 (+0000) Subject: Convert K&R function definition to ansi to make clang 15 happier X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bda95cca5149909bd152da1bd931b3435f55b16d;p=openbsd Convert K&R function definition to ansi to make clang 15 happier --- diff --git a/games/backgammon/teachgammon/tutor.c b/games/backgammon/teachgammon/tutor.c index bd0fab39860..26ff460370f 100644 --- a/games/backgammon/teachgammon/tutor.c +++ b/games/backgammon/teachgammon/tutor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tutor.c,v 1.9 2017/01/20 01:12:44 krw Exp $ */ +/* $OpenBSD: tutor.c,v 1.10 2023/05/05 10:26:50 tb Exp $ */ /* * Copyright (c) 1980, 1993 @@ -146,8 +146,7 @@ clrest(void) } int -brdeq(b1, b2) - const int *b1, *b2; +brdeq(const int *b1, const int *b2) { const int *e;