]> git.ipfire.org Git - thirdparty/suricata.git/commit
misc: fix build of rules profiling 12039/head
authorEric Leblond <el@stamus-networks.com>
Fri, 25 Oct 2024 21:34:53 +0000 (23:34 +0200)
committerEric Leblond <el@stamus-networks.com>
Fri, 25 Oct 2024 21:41:17 +0000 (23:41 +0200)
commit9ffb2cd7dde9da9e80a261fcecf49b074a3e064b
treee6ef02ba05cf461e204c43f253e8ed24c292bb10
parent89aa5253d6fac628a0e7ad6bab79dd20c60681a9
misc: fix build of rules profiling

The patch a0fc2b8628d8a281ef7a2943614b507498c80ca3 has removed the
declaration of functions used when building with ruleset profiling
only (without --enable-profiling). This is causing a build failure.

This patch moves the declaration to the rules profiling section to
be sure it is always there.
src/util-profiling.h