ftp: Remove LIBJANSSON guards

pull/4123/head
Jeff Lucovsky 7 years ago committed by Victor Julien
parent 3df2b3437c
commit 4f2a485c55

@ -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

@ -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__ */

Loading…
Cancel
Save