From 3f2f3baa270e8f86bd25504dddf32f8c24fd8a89 Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 17 Jun 2011 19:58:53 +0000 Subject: [PATCH] Removed an unused function. git-svn-id: svn://svn.cc65.org/cc65/trunk@5066 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/symentry.c | 9 --------- src/ca65/symentry.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/src/ca65/symentry.c b/src/ca65/symentry.c index 763820731..a3f218342 100644 --- a/src/ca65/symentry.c +++ b/src/ca65/symentry.c @@ -699,12 +699,3 @@ unsigned GetSymInfoFlags (const SymEntry* S, long* ConstVal) -const FilePos* GetSymPos (const SymEntry* S) -/* Return the position of first occurence in the source for the given symbol */ -{ - /* The actual source entry is in slot zero */ - return &((const LineInfo*) CollConstAt (&S->LineInfos, 0))->Pos; -} - - - diff --git a/src/ca65/symentry.h b/src/ca65/symentry.h index 82ca46c55..32c11ca5b 100644 --- a/src/ca65/symentry.h +++ b/src/ca65/symentry.h @@ -345,9 +345,6 @@ unsigned GetSymInfoFlags (const SymEntry* Sym, long* ConstVal); * See common/symdefs.h for more information. */ -const FilePos* GetSymPos (const SymEntry* S); -/* Return the position of first occurence in the source for the given symbol */ - /* End of symentry.h */ -- 2.39.5