From 4358729342fd859b7099ae9f2d2274e677bdd306 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 3 Mar 2017 12:07:15 -0800 Subject: paxelf: constify pax_short_* helpers --- paxelf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'paxelf.h') diff --git a/paxelf.h b/paxelf.h index 9d609b8..a82ca80 100644 --- a/paxelf.h +++ b/paxelf.h @@ -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) -- cgit v1.2.3-65-gdbad