summaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-07-10 16:02:51 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit8bb22aff3b14947e69c070c82c4ad81e098183f3 (patch)
tree9c067e8d9a3ba9d5679e56e8c32a30bfbcd77ff0 /library.h
parent070dc5826c9015cf8d8bfa04c429f419fd9d08ff (diff)
downloadltrace-8bb22aff3b14947e69c070c82c4ad81e098183f3.tar.gz
ltrace-8bb22aff3b14947e69c070c82c4ad81e098183f3.tar.bz2
ltrace-8bb22aff3b14947e69c070c82c4ad81e098183f3.zip
un-consted some variables to build with older (<= gcc-4.6) compilers
Diffstat (limited to 'library.h')
-rw-r--r--library.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library.h b/library.h
index 63b15b7..42a5a47 100644
--- a/library.h
+++ b/library.h
@@ -259,7 +259,7 @@ int arch_translate_address_dyn(struct process *proc,
* success
*/
int library_exported_names_push(struct library_exported_names *names,
- uint64_t addr, const char *name,
+ uint64_t addr, char *name,
int own_name );
/* Iterates through the a library's export list, reporting each symbol that is
@@ -277,7 +277,7 @@ int library_exported_names_push(struct library_exported_names *names,
* function in name_start_after to resume skipping this element
*/
const char** library_exported_names_each_alias(
- const struct library_exported_names *names,
+ struct library_exported_names *names,
const char *aliasname,
const char **name_start_after,
enum callback_status (*cb)(const char *,
@@ -286,7 +286,7 @@ const char** library_exported_names_each_alias(
/* Returns 0 if the exported names list does not contain a given name, or 1 if
* it does */
-int library_exported_names_contains(const struct library_exported_names* names,
+int library_exported_names_contains(struct library_exported_names* names,
const char* queryname);
#endif /* _LIBRARY_H_ */