From d6950e2176918538a3fd28949cb8e4fa45932b85 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 1 Oct 2013 15:30:22 +0000 Subject: [PATCH] FINALLY remove the check_col API so that reviewers won't have to mention that it's deprecated. Now it just won't compile if its included in a dissector. svn path=/trunk/; revision=52317 --- epan/column-utils.c | 6 ------ epan/column-utils.h | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/epan/column-utils.c b/epan/column-utils.c index 6457002312..3da1cc91fd 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -145,12 +145,6 @@ col_set_writable(column_info *cinfo, const gboolean writable) /* There is at least one column in that format */ \ ((cinfo)->col_first[el] >= 0)) -gint -check_col(column_info *cinfo, const gint el) -{ - return CHECK_COL(cinfo, el); -} - /* Sets the fence for a column to be at the end of the column. */ void col_set_fence(column_info *cinfo, const gint el) diff --git a/epan/column-utils.h b/epan/column-utils.h index e903314691..1ea0fd39ce 100644 --- a/epan/column-utils.h +++ b/epan/column-utils.h @@ -96,17 +96,6 @@ WS_DLL_PUBLIC gboolean col_get_writable(column_info *cinfo); */ WS_DLL_PUBLIC void col_set_writable(column_info *cinfo, const gboolean writable); -/** - * Checks if the given column can be filled with data. - * - * @param cinfo the current packet row - * @param col the column to use, e.g. COL_INFO - * - * @deprecated Not needed in new code the check is done in - * in the column function calls. - */ -WS_DLL_PUBLIC gint check_col(column_info *cinfo, const gint col); - /** Sets a fence for the current column content, * so this content won't be affected by further col_... function calls. *