]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - tools/purge/convert.hh
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / tools / purge / convert.hh
index dbc65f6d23cd04f43200bc6434b5bf1c5d3534f3..08b981d775cdf7a4a9b2ca09e65e4429dd7195b2 100644 (file)
@@ -1,13 +1,18 @@
-//
-// $Id: convert.hh,v 1.2 1999/01/19 11:00:50 voeckler Exp $
-//
-// Author:  Jens-S. Vöckler <voeckler@rvs.uni-hannover.de>
+/*
+ * Copyright (C) 1996-2018 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.
+ */
+
+// Author:  Jens-S. V?ckler <voeckler@rvs.uni-hannover.de>
 //
 // File:    convert.hh
 //          Thu Oct 30 1997
 //
 // (c) 1997 Lehrgebiet Rechnernetze und Verteilte Systeme
-//          Universität Hannover, Germany
+//          Universit?t Hannover, Germany
 //
 // Permission to use, copy, modify, distribute, and sell this software
 // and its documentation for any purpose is hereby granted without fee,
@@ -31,7 +36,6 @@
 // ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 // SOFTWARE.
 //
-// $Log: convert.hh,v $
 // Revision 1.2  1999/01/19 11:00:50  voeckler
 // added bool type workaround.
 //
 #ifndef _CONVERT_HH
 #define _CONVERT_HH
 
-#if defined(__GNUC__) || defined(__GNUG__)
-#pragma interface
-#else
-#ifndef HAS_BOOL
-#define HAS_BOOL
-typedef int bool;
+#if !defined(__cplusplus)
+#ifndef HAVE_BOOL
+#define HAVE_BOOL 1
+typedef char bool;
 #define false 0
 #define true  1
 #endif
-#endif
+#endif /* __cplusplus */
 
 #include <sys/types.h>
 #include <sys/socket.h>