mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Remove obsolete ZEEK_FORWARD_DECLARE_NAMESPACED macros
This commit is contained in:
parent
8c4092a0ad
commit
4ad08172d0
121 changed files with 722 additions and 547 deletions
13
src/util.h
13
src/util.h
|
@ -69,9 +69,6 @@ extern "C"
|
|||
using bro_int_t = int64_t;
|
||||
using bro_uint_t = uint64_t;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(ODesc, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(RecordVal, zeek);
|
||||
|
||||
#ifndef HAVE_STRCASESTR
|
||||
extern char* strcasestr(const char* s, const char* find);
|
||||
#endif
|
||||
|
@ -79,7 +76,12 @@ extern char* strcasestr(const char* s, const char* find);
|
|||
// This is used by the patricia code and so it remains outside of hte namespace.
|
||||
extern "C" void out_of_memory(const char* where);
|
||||
|
||||
namespace zeek::util {
|
||||
namespace zeek {
|
||||
|
||||
class ODesc;
|
||||
class RecordVal;
|
||||
|
||||
namespace util {
|
||||
namespace detail {
|
||||
|
||||
std::string extract_ip(const std::string& i);
|
||||
|
@ -537,4 +539,5 @@ char* zeekenv(const char* name);
|
|||
*/
|
||||
std::string json_escape_utf8(const std::string& val);
|
||||
|
||||
} // namespace zeek::util
|
||||
} // namespace util
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue