summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-10-11 06:05:07 +0200
committerAllan McRae <allan@archlinux.org>2010-10-14 05:17:40 +0200
commite464339e3bd37e9bdb2c8d13fa29408a1123f620 (patch)
tree2bc900f94e9204625e15e0cb7d339892cbe26949 /lib/libalpm/db.h
parent448f78c067955d617c302f322a2dc6507cb6eb13 (diff)
downloadpacman-e464339e3bd37e9bdb2c8d13fa29408a1123f620.tar.gz
pacman-e464339e3bd37e9bdb2c8d13fa29408a1123f620.tar.xz
Move and rename splitname
The splitname function is a general utility function and so is better suited to util.h. Rename it to _alpm_splitname to indicate it is an internal libalpm function as was the case prior to splitting local and sync db handling. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index d28ace62..0a120f99 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -100,8 +100,6 @@ void _alpm_db_free_grpcache(pmdb_t *db);
alpm_list_t *_alpm_db_get_grpcache(pmdb_t *db);
pmgrp_t *_alpm_db_get_grpfromcache(pmdb_t *db, const char *target);
-int splitname(const char *target, pmpkg_t *pkg);
-
#endif /* _ALPM_DB_H */
/* vim: set ts=2 sw=2 noet: */