diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 08:20:03 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-07 08:20:03 +0200 |
commit | 3be0a4b2f863e213af45b0495254108c13415a1f (patch) | |
tree | 5e5bcff1c5aef0b81762a58140081e1231c01057 /lib/psm.c | |
parent | 2e3972aebf3db7a6fce83619ea106b80145ed923 (diff) | |
download | rpm-3be0a4b2f863e213af45b0495254108c13415a1f.tar.gz rpm-3be0a4b2f863e213af45b0495254108c13415a1f.tar.bz2 rpm-3be0a4b2f863e213af45b0495254108c13415a1f.zip |
Another pile of read-only constants marked as such..
Diffstat (limited to 'lib/psm.c')
-rw-r--r-- | lib/psm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -107,9 +107,9 @@ int rpmVersionCompare(Header first, Header second) * @todo Should other macros be added from header when installing a package? */ static struct tagMacro { -const char * macroname; /*!< Macro name to define. */ - rpmTag tag; /*!< Header tag to use for value. */ -} tagMacros[] = { + const char *macroname; /*!< Macro name to define. */ + rpmTag tag; /*!< Header tag to use for value. */ +} const tagMacros[] = { { "name", RPMTAG_NAME }, { "version", RPMTAG_VERSION }, { "release", RPMTAG_RELEASE }, @@ -126,7 +126,7 @@ const char * macroname; /*!< Macro name to define. */ static int rpmInstallLoadMacros(rpmfi fi, Header h) { HGE_t hge = (HGE_t) fi->hge; - struct tagMacro * tagm; + const struct tagMacro * tagm; union { void * ptr; const char ** argv; |