Make my 1984/decot fix look more like original

I was able to bring back some code and only had to comment out one part
and make a minor change to another another. Originally the code had:

    extern int floor;

but this is not possible in modern systems so it was changed to:

    extern double floor(double);

The

    double (x1, y1) b;

could be brought back, changed from:

    int b,

(the comma is not a typo there).

Now it looks rather more like the original.

The thanks-for-fixes.md file was updated here, including a diff to try
(to see what had to be done to fix the entry for modern systems) but I'm
afraid it has a minor change in another entry, something I accidentally
left out of 1984/mullender.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-17 02:44:55 -07:00
1 parent 5c735bce57
commit 25beceda98
2 files changed
+24 -3

No files matched your search

+5 -1
View File
@@ -3,7 +3,11 @@
#define char k['a']
#define union static struct
int b,
extern double floor(double);
double (x1, y1) b;
/*char x {sizeof(
double(%s,%D)(*)()) */
int
k['a'] = {sizeof(
int(*)())
,};