From 0d240668764890cf629d4225421a4f64c6158b0f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 21 Jul 2020 12:58:44 +0200 Subject: [PATCH] sip: minor cleanup --- src/app-layer-sip.c | 24 +----------------------- src/app-layer-sip.h | 5 +---- 2 files changed, 2 insertions(+), 27 deletions(-) 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__ */