Further improve alt code of 2006/sloane

Formatting looks more like the original.

Also silence unused parameter that came about the fix for some versions
of clang.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-22 15:54:02 -07:00
1 parent 59de574ffb
commit 47c92bf277
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-pedantic -Wno-return-type -Wno-shift-op-parentheses -Wno-unsequenced \
-Wno-deprecated-non-prototype -Wno-main
-Wno-deprecated-non-prototype -Wno-main -Wno-unused-parameter
# Common C compiler warning flags
#
+1 -1
View File
@@ -27,6 +27,6 @@ A),m =cos(B);for(k =0;k< 1840;k++)y=-k
g)*m-c* d*e-f*g-l*d*n);if(D>z[o] )z[o]
=D,b[o] =" ..,,-++=#$@"[ N>0?N:0
] ; } printf(
"\x1b[" "H" );usleep(S);for(k =1;1841
"\x1b[" "H" );usleep(S);for(k=1;1841
>k;k++) putchar (k%80?b [k]:10)
; A += 0.053;B +=0.037 ; } }