diff --git a/src/app-layer-ftp.c b/src/app-layer-ftp.c index a48facc150..dee2b78249 100644 --- a/src/app-layer-ftp.c +++ b/src/app-layer-ftp.c @@ -1363,7 +1363,6 @@ void FTPAtExitPrintStats(void) } -#ifdef HAVE_LIBJANSSON /* * \brief Returns the ending offset of the next line from a multi-line buffer. * @@ -1417,7 +1416,6 @@ json_t *JsonFTPDataAddMetadata(const Flow *f) } return ftpd; } -#endif /* HAVE_LIBJANSSON */ /* UNITTESTS */ #ifdef UNITTESTS diff --git a/src/app-layer-ftp.h b/src/app-layer-ftp.h index 50b6082c9a..a23ede4cf4 100644 --- a/src/app-layer-ftp.h +++ b/src/app-layer-ftp.h @@ -218,10 +218,8 @@ void FTPAtExitPrintStats(void); uint64_t FTPMemuseGlobalCounter(void); uint64_t FTPMemcapGlobalCounter(void); -#ifdef HAVE_LIBJANSSON uint16_t JsonGetNextLineFromBuffer(const char *buffer, const uint16_t len); json_t *JsonFTPDataAddMetadata(const Flow *f); -#endif #endif /* __APP_LAYER_FTP_H__ */