]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/smb: minor cleanup now Rust is mandatory 3802/head
authorVictor Julien <victor@inliniac.net>
Wed, 17 Apr 2019 11:11:10 +0000 (13:11 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 17 Apr 2019 11:40:58 +0000 (13:40 +0200)
src/output-json-smb.c
src/output-json-smb.h

index 593a33a20a456060f492b3411ce77a2e57ed2216..e768c5f0253fbc85f1f8044bf530a89b46f91830 100644 (file)
@@ -45,7 +45,6 @@
 
 #include "output-json-smb.h"
 
-#ifdef HAVE_RUST
 #ifdef HAVE_LIBJANSSON
 #include "rust.h"
 #include "rust-smb-log-gen.h"
@@ -117,10 +116,3 @@ void JsonSMBLogRegister(void)
 
 #endif /* HAVE_LIBJANSSON */
 
-#else /* no rust */
-
-void JsonSMBLogRegister(void)
-{
-}
-
-#endif /* HAVE_RUST */
index 6f96002551c4c9889b133e83b26508b918feef66..bd0fdd791000816f78ef53480bfef8b92c71e91a 100644 (file)
@@ -25,7 +25,6 @@
 #define __OUTPUT_JSON_SMB_H__
 
 void JsonSMBLogRegister(void);
-#ifdef HAVE_RUST
 json_t *JsonSMBAddMetadata(const Flow *f, uint64_t tx_id);
-#endif /* HAVE_RUST */
+
 #endif /* __OUTPUT_JSON_SMB_H__ */