]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - tools/purge/signal.cc
SourceFormat Enforcement
[thirdparty/squid.git] / tools / purge / signal.cc
index 758978afe66f4ded6eab236d952a5bdb5e696720..36c182c1ff1b590faf7ea6930a8d7fa250d8a9e6 100644 (file)
@@ -1,6 +1,11 @@
-//
-// $Id$
-//
+/*
+ * Copyright (C) 1996-2017 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:     signal.cc
 // Date:     Sat Feb 28 1998
 // Revision 1.1  1998/08/13 21:51:58  voeckler
 // Initial revision
 //
-//
-
-#if (defined(__GNUC__) || defined(__GNUG__)) && !defined(__clang__)
-#pragma implementation
-#endif
 
 #include "squid.h"
 #include "signal.hh"
 
-//#include <sys/types.h>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
 #include <memory.h>
-#include <stdio.h>
 #include <unistd.h>
 #include <sys/wait.h>
-//#include <signal.h>
 
 SigFunc*
 Signal( int signo, SigFunc* newhandler, bool doInterrupt )
@@ -136,3 +133,4 @@ sigChild( int signo )
     return 0;
 #endif
 }
+