mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-26 19:33:27 +08:00
2aea2526c2
For a long time, we have used unprefixed symbols like "a" in public facing headers. These are caught by the libstdc++ testsuite, so fix them globally where possible. The general technique applied is: 1) Default to just removing the parameter entirely if it provides no additional information to the reader. For instance: void f(struct timespec *t); // The letter 't' there is not helpful 2) In cases where the data type is generic and the parameter name has added documentation value, replace it with a prefixed version, either two underscores, or one underscore and an uppercase letter. It seems that much existing code uses the latter, so this patch does likewise. For instance: void f(int signal); void f(int _Signal); |
||
---|---|---|
.. | ||
libmangle | ||
pseh | ||
winpthreads | ||
winstorecompat |