Remove use of no-op accessor functions in library
commitc4bd476ad13e142fe8323fe74d84b3950b53da17
authorDan McGee <dan@archlinux.org>
Thu, 18 Aug 2011 04:25:19 +0000 (17 23:25 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 18 Aug 2011 15:47:41 +0000 (18 10:47 -0500)
treeddfd2afb08bf94b300eecee7cfef3394ed8c1092
parentc885a953eb888004f0302ed3eceafef93e2f072f
Remove use of no-op accessor functions in library

The functions alpm_db_get_name(), alpm_pkg_get_name(), and
alpm_pkg_get_version() are not necessary at all, so remove the calling
and indirection when used in the backend, which makes things slightly
more efficient and reduces code size.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/add.c
lib/libalpm/be_local.c
lib/libalpm/conflict.c
lib/libalpm/db.c
lib/libalpm/package.c
lib/libalpm/remove.c
lib/libalpm/sync.c
lib/libalpm/trans.c