Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-01-10 14:10:47 +1000
committerAllan McRae <allan@archlinux.org>2019-01-10 14:10:55 +1000
commit9b637cc27aba561e5270862a1a3eb515e4f3f744 (patch)
tree5a956a852a4dec3b7530c1a49e79741eea96c449 /lib/libalpm/be_local.c
parentf9eb2aacb4655cce5faa8a2e7295a96cab91c68c (diff)
be_local.c: remove aligment in local_pkg_ops
The alignment was not overly helpful and caused unnecessary churn when a new value with longer name was added. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 194e818b..5a03f257 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -315,38 +315,38 @@ static int _cache_force_load(alpm_pkg_t *pkg)
* logic.
*/
static struct pkg_operations local_pkg_ops = {
- .get_base = _cache_get_base,
- .get_desc = _cache_get_desc,
- .get_url = _cache_get_url,
- .get_builddate = _cache_get_builddate,
+ .get_base = _cache_get_base,
+ .get_desc = _cache_get_desc,
+ .get_url = _cache_get_url,
+ .get_builddate = _cache_get_builddate,
.get_installdate = _cache_get_installdate,
- .get_packager = _cache_get_packager,
- .get_arch = _cache_get_arch,
- .get_isize = _cache_get_isize,
- .get_reason = _cache_get_reason,
- .get_validation = _cache_get_validation,
- .has_scriptlet = _cache_has_scriptlet,
- .get_licenses = _cache_get_licenses,
- .get_groups = _cache_get_groups,
- .get_depends = _cache_get_depends,
- .get_optdepends = _cache_get_optdepends,
+ .get_packager = _cache_get_packager,
+ .get_arch = _cache_get_arch,
+ .get_isize = _cache_get_isize,
+ .get_reason = _cache_get_reason,
+ .get_validation = _cache_get_validation,
+ .has_scriptlet = _cache_has_scriptlet,
+ .get_licenses = _cache_get_licenses,
+ .get_groups = _cache_get_groups,
+ .get_depends = _cache_get_depends,
+ .get_optdepends = _cache_get_optdepends,
.get_makedepends = _cache_get_makedepends,
.get_checkdepends = _cache_get_checkdepends,
- .get_conflicts = _cache_get_conflicts,
- .get_provides = _cache_get_provides,
- .get_replaces = _cache_get_replaces,
- .get_files = _cache_get_files,
- .get_backup = _cache_get_backup,
-
- .changelog_open = _cache_changelog_open,
- .changelog_read = _cache_changelog_read,
+ .get_conflicts = _cache_get_conflicts,
+ .get_provides = _cache_get_provides,
+ .get_replaces = _cache_get_replaces,
+ .get_files = _cache_get_files,
+ .get_backup = _cache_get_backup,
+
+ .changelog_open = _cache_changelog_open,
+ .changelog_read = _cache_changelog_read,
.changelog_close = _cache_changelog_close,
- .mtree_open = _cache_mtree_open,
- .mtree_next = _cache_mtree_next,
- .mtree_close = _cache_mtree_close,
+ .mtree_open = _cache_mtree_open,
+ .mtree_next = _cache_mtree_next,
+ .mtree_close = _cache_mtree_close,
- .force_load = _cache_force_load,
+ .force_load = _cache_force_load,
};
static int checkdbdir(alpm_db_t *db)