[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tests: Remove K&R declarations.
From: |
Collin Funk |
Subject: |
tests: Remove K&R declarations. |
Date: |
Tue, 08 Apr 2025 20:15:32 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Bruno,
One test program still uses K&R declarations. Clang 19 throws
-Wdeprecated-non-prototype and GCC 15 throws -Wold-style-definition
without any warning options specified for these.
I think any compiler that doesn't support ANSI C declarations by now is
dead. Even pcc [1] supports them despite being unusable because it does
not understand __attribute__'s used in my system headers. :'(
Anyways, patch attached.
Collin
[1] https://en.wikipedia.org/wiki/Portable_C_Compiler
0001-tests-Remove-K-R-declarations.patch
Description: Text Data
- tests: Remove K&R declarations.,
Collin Funk <=