summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-16 21:28:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-16 21:28:37 +0200
commitc41f61369ea55d0c998dfb733b2e74921bca63bf (patch)
treec58fcf6a5996f873174ec0261c9d931c6b916a1f /rpmio/macro.c
parent506a8f5365c9cc044754b4365e75481cf26b1b5e (diff)
downloadlibrpm-tizen-c41f61369ea55d0c998dfb733b2e74921bca63bf.tar.gz
librpm-tizen-c41f61369ea55d0c998dfb733b2e74921bca63bf.tar.bz2
librpm-tizen-c41f61369ea55d0c998dfb733b2e74921bca63bf.zip
Unconstify macro contents, fully contained within macro module
Diffstat (limited to 'rpmio/macro.c')
-rw-r--r--rpmio/macro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index be0c9e7e8..c0a6c47af 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -29,9 +29,9 @@
/*! The structure used to store a macro. */
struct rpmMacroEntry_s {
struct rpmMacroEntry_s *prev;/*!< Macro entry stack. */
- const char *name; /*!< Macro name. */
- const char *opts; /*!< Macro parameters (a la getopt) */
- const char *body; /*!< Macro body. */
+ char *name; /*!< Macro name. */
+ char *opts; /*!< Macro parameters (a la getopt) */
+ char *body; /*!< Macro body. */
int used; /*!< No. of expansions. */
int level; /*!< Scoping level. */
};