Move and rename splitname
commite464339e3bd37e9bdb2c8d13fa29408a1123f620
authorAllan McRae <allan@archlinux.org>
Mon, 11 Oct 2010 04:05:07 +0000 (11 14:05 +1000)
committerAllan McRae <allan@archlinux.org>
Thu, 14 Oct 2010 03:17:40 +0000 (14 13:17 +1000)
tree2bc900f94e9204625e15e0cb7d339892cbe26949
parent448f78c067955d617c302f322a2dc6507cb6eb13
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>
lib/libalpm/be_local.c
lib/libalpm/be_sync.c
lib/libalpm/db.c
lib/libalpm/db.h
lib/libalpm/util.c
lib/libalpm/util.h