diff options
author | 2017-03-03 12:07:15 -0800 | |
---|---|---|
committer | 2017-03-03 12:07:15 -0800 | |
commit | 4358729342fd859b7099ae9f2d2274e677bdd306 (patch) | |
tree | fb8be875426a9f5bda216a75e6fbad7b1c4c7696 /paxelf.c | |
parent | lddtree: move parser logic into a func (diff) | |
download | pax-utils-4358729342fd859b7099ae9f2d2274e677bdd306.tar.gz pax-utils-4358729342fd859b7099ae9f2d2274e677bdd306.tar.bz2 pax-utils-4358729342fd859b7099ae9f2d2274e677bdd306.zip |
paxelf: constify pax_short_* helpers
Diffstat (limited to 'paxelf.c')
-rw-r--r-- | paxelf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -726,7 +726,7 @@ void unreadelf(elfobj *elf) free(elf); } -char *pax_short_hf_flags(unsigned long flags) +const char *pax_short_hf_flags(unsigned long flags) { static char buffer[7]; @@ -746,7 +746,7 @@ char *pax_short_hf_flags(unsigned long flags) * lower case: explicitly disabled * upper case: explicitly enabled * - : default */ -char *pax_short_pf_flags(unsigned long flags) +const char *pax_short_pf_flags(unsigned long flags) { static char buffer[7]; @@ -772,7 +772,7 @@ char *pax_short_pf_flags(unsigned long flags) return buffer; } -char *gnu_short_stack_flags(unsigned long flags) +const char *gnu_short_stack_flags(unsigned long flags) { static char buffer[4]; |