]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/stdio.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / compat / stdio.h
index a474d21f5531dcd1bc6c099e76584e0476762d2d..c7ce69c59907fd19f930893e3fd53241bc759e09 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef _SQUID_COMPAT_STDIO_H
 #define _SQUID_COMPAT_STDIO_H
 
@@ -15,7 +23,7 @@
 
 // Import the stdio.h definitions first to do the state setup
 #if HAVE_STDIO_H
-#include<stdio.h>
+#include <stdio.h>
 #endif
 
 // Check for the buggy case
@@ -46,7 +54,7 @@ inline FILE * tmpfile(void) { return tmpfile64(); }
 #endif /* __USE_FILE_OFFSET64 && !__REDIRECT */
 
 // Finally import the <cstdio> stuff we actually use
-#if HAVE_CSTDIO && defined(__cplusplus)
+#if defined(__cplusplus)
 #include <cstdio>
 #endif
 
@@ -55,3 +63,4 @@ inline FILE * tmpfile(void) { return tmpfile64(); }
 #endif
 
 #endif /* _SQUID_COMPAT_STDIO_H */
+