public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Valters Jansons <valter.jansons@gmail.com>
To: location@lists.ipfire.org
Subject: [PATCH] libloc: Drop loc_database_add_as symbol definition
Date: Sun, 12 Jul 2026 18:12:29 +0900	[thread overview]
Message-ID: <20260712091229.203686-1-valter.jansons@gmail.com> (raw)

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(-)

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;
-- 
2.54.0



                 reply	other threads:[~2026-07-12  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260712091229.203686-1-valter.jansons@gmail.com \
    --to=valter.jansons@gmail.com \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox