If you don't need to offer the functions to the rest of the Global namespace, consider using local functions.
You are also calling LibAddonMenu2 from its global and not from the library.
Lua Code:
local LAM = LibAddonMenu2
LAM :RegisterOptionControls(TamrielTrashCentre.name .. "_LibAddonMenu2", PanelData)
Code:
Filename | +New Global Line | New Global Name
TamrielTrashCentreSettings.lua
+ 73 GetMarkerSettings
+ 81 GetMarkerDefaults
+ 89 GetTrashSettings
+ 93 GetTrashDefaults
+ 233 CheckIfTableAContainsB
+ 250 GetTableLength
+ 369 GetAmountTrackedSets
+ 380 GetAmountUntrackedSets
+ 391 CreateSettings
+ 590 RGBA2HSVA
+ 616 HSVA2RGBA
TamrielTrashCentreAutoTrash.lua
+ 126 ZO_LinkHandler_OnLinkMouseUp