curl/lib/vauth
Viktor Szakats ad26a6cb99
tidy-up: avoid using the reserved macro namespace
To avoid hitting `-Wreserved-macro-identifier` where possible.

- amigaos: introduce local macro instead of reusing `__request()`.
- easy_lock: avoid redefining `__has_builtin()`.
  Follow-up to 33fd57b8ff #9062
- rand: drop interim macro `_random()`.
- windows: rename local macro `_tcsdup()` to `Curl_tcsdup()`.
  To avoid using the reserved macro namespace and to avoid
  colliding with `_tcsdup()` as defined by Windows headers.
- checksrc: ban `_tcsdup()` in favor of `Curl_tcsdup()`.
- tool_doswin: avoid redefining `_use_lfn()` (MS-DOS).
- tool_findfile: limit `__NO_NET_API` hack to AmigaOS.
  Syncing this pattern with `lib/netrc.c`.
  Follow-up to 784a8ec2c1 #16279
- examples/http2-upload: avoid reserved namespace for local macro.

More cases will be removed when dropping WinCE support via #17927.

Cases remain when defining external macros out of curl's control.

Ref: #18477
Closes #18482
2025-09-20 02:27:06 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
cleartext.c curl_setup: use SIZE_MAX instead of SIZE_T_MAX 2025-08-29 09:45:06 +02:00
cram.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
digest.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
digest_sspi.c tidy-up: avoid using the reserved macro namespace 2025-09-20 02:27:06 +02:00
gsasl.c lib: include files using known path 2025-04-08 17:00:00 +02:00
krb5_gssapi.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
krb5_sspi.c tidy-up: whitespace 2025-09-15 15:00:11 +02:00
ntlm.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
ntlm_sspi.c tidy-up: whitespace 2025-09-15 15:00:11 +02:00
oauth2.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
spnego_gssapi.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
spnego_sspi.c tidy-up: whitespace 2025-09-15 15:00:11 +02:00
vauth.c tidy-up: avoid using the reserved macro namespace 2025-09-20 02:27:06 +02:00
vauth.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00