diff options
author | 2017-03-03 12:07:15 -0800 | |
---|---|---|
committer | 2017-03-03 12:07:15 -0800 | |
commit | 4358729342fd859b7099ae9f2d2274e677bdd306 (patch) | |
tree | fb8be875426a9f5bda216a75e6fbad7b1c4c7696 /paxelf.h | |
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.h')
-rw-r--r-- | paxelf.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -50,9 +50,9 @@ typedef struct { (phdr && VALID_RANGE(elf, EGET(phdr->p_offset), EGET(phdr->p_filesz))) /* prototypes */ -extern char *pax_short_hf_flags(unsigned long flags); -extern char *pax_short_pf_flags(unsigned long flags); -extern char *gnu_short_stack_flags(unsigned long flags); +extern const char *pax_short_hf_flags(unsigned long flags); +extern const char *pax_short_pf_flags(unsigned long flags); +extern const char *gnu_short_stack_flags(unsigned long flags); extern elfobj *readelf_buffer(const char *filename, void *buffer, size_t buffer_len); extern elfobj *_readelf_fd(const char *filename, int fd, size_t len, int read_only); #define readelf_fd(filename, fd, len) _readelf_fd(filename, fd, len, 1) |