aboutsummaryrefslogtreecommitdiffstats
path: root/epan/range.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/range.h')
-rw-r--r--epan/range.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/epan/range.h b/epan/range.h
index 2e440b30ef..e61550a90a 100644
--- a/epan/range.h
+++ b/epan/range.h
@@ -131,19 +131,13 @@ WS_DLL_PUBLIC gboolean range_remove_value(wmem_allocator_t *scope, range_t **ran
WS_DLL_PUBLIC gboolean ranges_are_equal(range_t *a, range_t *b);
/** This function calls the provided callback function for each value in
- * in the range.
+ * in the range. Takes a pointer argument, which is passed to the
+ * callback, along with the value in the range.
* @param range the range
* @param callback the callback function
- */
-WS_DLL_PUBLIC void range_foreach(range_t *range, void (*callback)(guint32 val));
-
-/** This function calls the provided callback function for each value in
- * in the range. Takes an optional pointer argument.
- * @param range the range
- * @param callback2 the callback function
* @param ptr pointer passed to the callback
*/
-WS_DLL_PUBLIC void range_foreach_r(range_t *range, void (*callback2)(guint32 val, gpointer ptr), gpointer ptr);
+WS_DLL_PUBLIC void range_foreach(range_t *range, void (*callback)(guint32 val, gpointer ptr), gpointer ptr);
/**
* This function converts a range_t to a (wmem_alloc()-allocated) string.