freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

Replace old workarounds from when C wasn't standardized

Open AZero13 opened this issue 4 years ago • 1 comments

Replace many outdated workarounds from when C wasn’t standardized yet with their modern day equivalents.

AZero13 avatar Oct 04 '21 17:10 AZero13

this needs to be rebased now that I've committed the ansi function calls

bsdimp avatar Nov 19 '21 06:11 bsdimp

Been a long time, but I fixed it

AZero13 avatar Nov 14 '22 14:11 AZero13

@bsdimp Fixed!

AZero13 avatar Nov 14 '22 15:11 AZero13

More suggestions... Mostly there's about 1/2 of these changes as compiler workaround removal, but the other half are just whitespace and should be separate.

bsdimp avatar Feb 06 '23 00:02 bsdimp

@bsdimp Fixed!

AZero13 avatar Feb 26 '23 19:02 AZero13

Pulled this in. Rejected the == 1 thing that hps had issues with and the __pure2 tagging of abs. The former isn't a good idea, and the latter is beyond the scope. Also reworded the commit message because this no-longer add ANSI prototypes because that was done else elsewhere.

bsdimp avatar Feb 27 '23 23:02 bsdimp