From: Automatic source maintenance Date: Sat, 6 Oct 2012 00:13:17 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_3_0_1~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55ca4440cfad501ee3012105a310bfe95755e12b;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/HttpStatusLine.h b/src/HttpStatusLine.h index 1e3176ac59..2567622627 100644 --- a/src/HttpStatusLine.h +++ b/src/HttpStatusLine.h @@ -66,12 +66,12 @@ void httpStatusLineInit(HttpStatusLine * sline); void httpStatusLineClean(HttpStatusLine * sline); /* set/get values */ void httpStatusLineSet(HttpStatusLine * sline, HttpVersion version, - http_status status, const char *reason); + http_status status, const char *reason); const char *httpStatusLineReason(const HttpStatusLine * sline); /* parse/pack */ /* parse a 0-terminating buffer and fill internal structires; returns true on success */ int httpStatusLineParse(HttpStatusLine * sline, const String &protoPrefix, - const char *start, const char *end); + const char *start, const char *end); /* pack fields using Packer */ void httpStatusLinePackInto(const HttpStatusLine * sline, Packer * p); diff --git a/src/fatal.cc b/src/fatal.cc index 36604642e3..3e0af1a736 100644 --- a/src/fatal.cc +++ b/src/fatal.cc @@ -63,7 +63,6 @@ fatal_common(const char *message) dumpMallocStats(); } - void fatal(const char *message) { diff --git a/src/ipc/StartListening.h b/src/ipc/StartListening.h index 58794c640d..5d73fdfdf6 100644 --- a/src/ipc/StartListening.h +++ b/src/ipc/StartListening.h @@ -38,7 +38,7 @@ public: /// Depending on whether SMP is on, either ask Coordinator to send us /// the listening FD or open a listening socket directly. void StartListening(int sock_type, int proto, const Comm::ConnectionPointer &listenConn, - FdNoteId fdNote, AsyncCall::Pointer &callback); + FdNoteId fdNote, AsyncCall::Pointer &callback); } // namespace Ipc; diff --git a/src/tests/Stub.list b/src/tests/Stub.list index 2b8e4a02ef..46c15510f4 100644 --- a/src/tests/Stub.list +++ b/src/tests/Stub.list @@ -20,6 +20,7 @@ STUB_SOURCE= tests/STUB.h \ tests/stub_debug.cc \ tests/stub_errorpage.cc \ tests/stub_event.cc \ + tests/stub_fatal.cc \ tests/stub_fd.cc \ tests/stub_helper.cc \ tests/stub_http.cc \