From: Victor Julien Date: Tue, 21 Jul 2020 10:58:44 +0000 (+0200) Subject: sip: minor cleanup X-Git-Tag: suricata-6.0.0-beta1~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d240668764890cf629d4225421a4f64c6158b0f;p=thirdparty%2Fsuricata.git sip: minor cleanup --- diff --git a/src/app-layer-sip.c b/src/app-layer-sip.c index 3717db3f75..780d21cbcf 100644 --- a/src/app-layer-sip.c +++ b/src/app-layer-sip.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2019 Open Information Security Foundation +/* Copyright (C) 2019-2020 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -24,32 +24,10 @@ */ #include "suricata-common.h" -#include "stream.h" -#include "conf.h" - -#include "util-unittest.h" - -#include "app-layer-detect-proto.h" -#include "app-layer-parser.h" - #include "app-layer-sip.h" #include "rust.h" void RegisterSIPParsers(void) { rs_sip_register_parser(); - -#ifdef UNITTESTS - AppLayerParserRegisterProtocolUnittests(IPPROTO_TCP, ALPROTO_SIP, - SIPParserRegisterTests); -#endif -} - -#ifdef UNITTESTS -#endif - -void SIPParserRegisterTests(void) -{ -#ifdef UNITTESTS -#endif } diff --git a/src/app-layer-sip.h b/src/app-layer-sip.h index 299637179d..19ee002236 100644 --- a/src/app-layer-sip.h +++ b/src/app-layer-sip.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2019 Open Information Security Foundation +/* Copyright (C) 2019-2020 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -25,8 +25,5 @@ #define __APP_LAYER_SIP_H__ void RegisterSIPParsers(void); -void SIPParserRegisterTests(void); - -/** Opaque Rust types. */ #endif /* __APP_LAYER_SIP_H__ */