diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-05 10:26:51 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-05 10:26:51 +0000 |
commit | b741dbb117cdbe49c8825ece72efdadfefd740c5 (patch) | |
tree | 793c0713023760c0eb0ac76ac14031e3786b9f01 | |
parent | 6d13fcabb3ae134eca3fc14623067b3c77d24539 (diff) |
Convert K&R function definition to ansi to make clang 15 happier
-rw-r--r-- | games/backgammon/teachgammon/tutor.c | 5 |
1 files 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; |