]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
sip: minor cleanup
authorVictor Julien <victor@inliniac.net>
Tue, 21 Jul 2020 10:58:44 +0000 (12:58 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 24 Jul 2020 08:13:40 +0000 (10:13 +0200)
src/app-layer-sip.c
src/app-layer-sip.h

index 3717db3f75c5d2561ef2ca18af3f5c950ff23e6c..780d21cbcf45b8fd97a141481b608404ce4c8530 100644 (file)
@@ -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
  */
 
 #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
 }
index 299637179dadb21c760a5ef6f077e0b26d6799cb..19ee002236f6db9fee8e629e266d4af69408d8b8 100644 (file)
@@ -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__ */