From bda95cca5149909bd152da1bd931b3435f55b16d Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 5 May 2023 10:26:50 +0000 Subject: [PATCH] Convert K&R function definition to ansi to make clang 15 happier --- games/backgammon/teachgammon/tutor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.20.1