libloc: Drop loc_database_add_as symbol definition

Message ID 20260712091229.203686-1-valter.jansons@gmail.com
State Accepted
Commit 87110d38f6a3232017144ed82445c2e4ab6fe476
Headers
Series libloc: Drop loc_database_add_as symbol definition |

Commit Message

Valters Jansons 12 Jul 2026, 9:12 a.m. UTC
This database_add_as function was superseded by writer_add_as back
in c182393, however the `libloc.sym` file was never updated. This
commit cleans up the exported functions list.

On GNU's ld, this stray function definition gets ignored, but other
linkers could refuse to link (such as LLD 16+), as they would assume
a misconfiguration has taken place.

Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
 src/libloc.sym | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/src/libloc.sym b/src/libloc.sym
index b4bce8d..eb45670 100644
--- a/src/libloc.sym
+++ b/src/libloc.sym
@@ -58,7 +58,6 @@  global:
 	loc_country_list_unref;
 
 	# Database
-	loc_database_add_as;
 	loc_database_count_as;
 	loc_database_created_at;
 	loc_database_get_as;