[Forensics-changes] [yara] 221/415: Remove yr_arena_current_address function

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch debian
in repository yara.

commit 8d7d73898f874cb407791851b7b0cb6734cde96c
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Nov 12 15:15:41 2013 +0000

    Remove yr_arena_current_address function
---
 libyara/arena.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/libyara/arena.c b/libyara/arena.c
index c3ac0c0..dcc682d 100644
--- a/libyara/arena.c
+++ b/libyara/arena.c
@@ -305,26 +305,6 @@ void* yr_arena_base_address(
 
 
 //
-// yr_arena_current_address
-//
-// Returns the current address for the arena, which is the address
-// where the next write operation or memory allocation will be done.
-//
-// Args:
-//    ARENA* arena  - Pointer to the arena.
-//
-// Returns:
-//    A pointer
-//
-
-void* yr_arena_current_address(
-  ARENA* arena)
-{
-  return arena->current_page->address + arena->current_page->used;
-}
-
-
-//
 // yr_arena_next_address
 //
 // Given an address and an increment value, returns the address where

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list