From 73080c1e6072614e1b3b19da92a914b8d971ac0e Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Fri, 24 Jul 2020 12:03:18 -0700 Subject: [PATCH] Mark Continuation.h and PacketDumper.h as deprecated --- NEWS | 3 ++- src/CMakeLists.txt | 1 - src/Continuation.h | 2 ++ src/PacketDumper.h | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 58c719001d..b66c269798 100644 --- a/NEWS +++ b/NEWS @@ -52,7 +52,8 @@ Removed Functionality Deprecated Functionality ------------------------ -TODO: nothing notable yet +- Marked the Continuation.h and PacketDumper.h files as deprecated. The code + contained within them is unused by Zeek. Zeek 3.2.0 ========== diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e75d4f3a0b..266bae7b81 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -296,7 +296,6 @@ set(MAIN_SRCS bro_inet_ntop.c patricia.c setsignal.c - PacketDumper.cc strsep.c modp_numtoa.c diff --git a/src/Continuation.h b/src/Continuation.h index 455cf52a73..d29d353c57 100644 --- a/src/Continuation.h +++ b/src/Continuation.h @@ -1,3 +1,5 @@ +#warning "This file will be removed in v4.1. The code here is unused by Zeek. Notify a Zeek team member if your plugins are using this code." + // Helper class to implement continuation-like mechanisms for // suspending/resuming tasks for incremental operation. // diff --git a/src/PacketDumper.h b/src/PacketDumper.h index cd66c3c07e..2065dc2ed3 100644 --- a/src/PacketDumper.h +++ b/src/PacketDumper.h @@ -1,3 +1,5 @@ +#warning "This file will be removed in v4.1. The code here is unused by Zeek. Notify a Zeek team member if your plugins are using this code." + // See the file "COPYING" in the main distribution directory for copyright. #pragma once