]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
perl: Rename database_get_vendor() to get_vendor(9
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 28 Sep 2019 16:23:50 +0000 (16:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 28 Sep 2019 16:23:50 +0000 (16:23 +0000)
This function is being called on the database object, so it makes
sense to call it this as it is shorter.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/perl/Location/Location.xs

index 1ab5ae3377180f438f982c53d5ba8f0d4e453480..c4d7fa9ede801152066922f0aa65b616cbb0342c 100644 (file)
@@ -84,7 +84,7 @@ get_country_code(db, address)
 
 
 const char*
-database_get_vendor(db)
+get_vendor(db)
        struct loc_database* db;
 
        CODE: