index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-01-05 00:36:09 +0000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-09 00:15:04 +1000 |
commit | 1d2dd9a128690cef754bc102605df4918a508848 (patch) | |
tree | 70c11423075035e0b7f62fdce9fcdf73e1ca8b4a /lib/libalpm/package.c | |
parent | f8614d8c5be0f58db8e14092a387ff6ffbf209d7 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index a4356518..5766c600 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -138,7 +138,7 @@ static int _pkg_force_load(alpm_pkg_t UNUSED *pkg) { return 0; } /** The standard package operations struct. Get fields directly from the * struct itself with no abstraction layer or any type of lazy loading. */ -struct pkg_operations default_pkg_ops = { +const struct pkg_operations default_pkg_ops = { .get_base = _pkg_get_base, .get_desc = _pkg_get_desc, .get_url = _pkg_get_url, |