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 */