as this fn will be called upon and further used by other files later on.
Ticket 6792
Bug 6414
*
* \retval dp newly created DetectPort on success; or NULL in case of error.
*/
-static DetectPort *DetectPortInit(void)
+DetectPort *DetectPortInit(void)
{
DetectPort *dp = SCCalloc(1, sizeof(DetectPort));
if (unlikely(dp == NULL))
void DetectPortPrint(DetectPort *);
void DetectPortPrintList(DetectPort *head);
int DetectPortCmp(DetectPort *, DetectPort *);
+DetectPort *DetectPortInit(void);
void DetectPortFree(const DetectEngineCtx *de_ctx, DetectPort *);
int DetectPortTestConfVars(void);