From 6db290e89e0e97e149ce4cc540f5238704bad241 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 25 Nov 2023 10:18:23 -0800 Subject: [PATCH] Make my fix to 1996/westley more like original --- 1996/westley/westley.c | 2 +- thanks-for-fixes.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/1996/westley/westley.c b/1996/westley/westley.c index 46d2475b5..e64e28323 100644 --- a/1996/westley/westley.c +++ b/1996/westley/westley.c @@ -1 +1 @@ -main(h,m)int h;char**m;{if(h>4){for(time(*m);h/=2;);puts(m[4]);}} +main(h,m)char**m;{if(h>4){for(time(*m);h/=2;);puts(m[4]);}} diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 641c29fc6..3335cc473 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1979,6 +1979,9 @@ clocks, both with the fixed version and the original (alt) version. Also, to fix any potential problem with displaying in GitHub the scripts provided by the author, Cody added '.sh'. +Later Cody made the entry look more like the original, removing the `argc` in +`main()` (K&R style functions). + # 1998