]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_setup.h: drop extra header guard for internal include
authorViktor Szakats <commit@vsz.me>
Sun, 8 Feb 2026 02:36:45 +0000 (03:36 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 8 Feb 2026 14:47:47 +0000 (15:47 +0100)
The included local header starts with this same guard. The original
commit added it for fixing VMS builds along with many other changes, but
without mention of this specific one in the commit message.

`curl_setup.h` is included once, which includes `curl_setup_once.h`
once, even if the latter wouldn't have it's own guard.

Ref: 25f351424b353884bfe36f5e1c7a787b04b46932

Closes #20544

lib/curl_setup.h

index 4e49145f8407b224f9ef1c6002e2ecda44017a4d..0402e733067a75a2f2607219e66d0e2c4922825e 100644 (file)
 /*
  * Include macros and defines that should only be processed once.
  */
-#ifndef HEADER_CURL_SETUP_ONCE_H
 #include "curl_setup_once.h"
-#endif
 
 /*
  * Macros and functions to safely suppress warnings