]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
libloc: Drop loc_database_add_as symbol definition master
authorValters Jansons <valter.jansons@gmail.com>
Sun, 12 Jul 2026 09:12:29 +0000 (18:12 +0900)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Jul 2026 10:36:19 +0000 (10:36 +0000)
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libloc.sym

index b4bce8d3baff7d4e175c78caa7115aed6bdee38c..eb4567022cc36a687504fcf81a1be49c27191006 100644 (file)
@@ -58,7 +58,6 @@ global:
        loc_country_list_unref;
 
        # Database
        loc_country_list_unref;
 
        # Database
-       loc_database_add_as;
        loc_database_count_as;
        loc_database_created_at;
        loc_database_get_as;
        loc_database_count_as;
        loc_database_created_at;
        loc_database_get_as;