mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Move a few low-use classes to namespaces
This commit is contained in:
parent
886fc102b8
commit
c9ab1f93e7
53 changed files with 252 additions and 122 deletions
|
@ -2,6 +2,8 @@
|
|||
#include "Reporter.h"
|
||||
#include "Val.h"
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
prefix_t* PrefixTable::MakePrefix(const zeek::IPAddr& addr, int width)
|
||||
{
|
||||
prefix_t* prefix = (prefix_t*) safe_malloc(sizeof(prefix_t));
|
||||
|
@ -202,3 +204,5 @@ void* PrefixTable::GetNext(iterator* i)
|
|||
|
||||
// Not reached.
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue