diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
commit | cf5577d280b59411ff77da727812465a4a01f4d7 (patch) | |
tree | de94591e7ed2c73a306a33224c0da76125de9973 /include | |
parent | 98ffedec040226169d66af210f8b580a41e4d201 (diff) | |
download | libnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2 |
constify struct trans_tbl
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-local.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/netlink-local.h b/include/netlink-local.h index fbcf961..32e8302 100644 --- a/include/netlink-local.h +++ b/include/netlink-local.h @@ -94,14 +94,14 @@ extern int __nl_read_num_str_file(const char *path, extern int __trans_list_add(int, const char *, struct nl_list_head *); extern void __trans_list_clear(struct nl_list_head *); -extern char *__type2str(int, char *, size_t, struct trans_tbl *, size_t); -extern int __str2type(const char *, struct trans_tbl *, size_t); +extern char *__type2str(int, char *, size_t, const struct trans_tbl *, size_t); +extern int __str2type(const char *, const struct trans_tbl *, size_t); extern char *__list_type2str(int, char *, size_t, struct nl_list_head *); extern int __list_str2type(const char *, struct nl_list_head *); -extern char *__flags2str(int, char *, size_t, struct trans_tbl *, size_t); -extern int __str2flags(const char *, struct trans_tbl *, size_t); +extern char *__flags2str(int, char *, size_t, const struct trans_tbl *, size_t); +extern int __str2flags(const char *, const struct trans_tbl *, size_t); extern void dump_from_ops(struct nl_object *, struct nl_dump_params *); |