diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2003-09-22 14:10:49 -0700 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2003-09-22 14:10:49 -0700 |
| commit | a5e22b6d8a9e8a5e813b9e3519c43cbddddf9ca5 (patch) | |
| tree | be7cba6d86b8bb36aa16974cd4a8b6af1d3dc97d | |
| parent | 936024e0b4219c32d86043464c84f1baccdb82ee (diff) | |
[NET]: rtnetlink -- rtattr_strcmp const args.
| -rw-r--r-- | include/linux/rtnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 502a1389f689..61fb1f2224d2 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -618,7 +618,7 @@ enum #include <linux/config.h> -static __inline__ int rtattr_strcmp(struct rtattr *rta, char *str) +static __inline__ int rtattr_strcmp(const struct rtattr *rta, const char *str) { int len = strlen(str) + 1; return len > rta->rta_len || memcmp(RTA_DATA(rta), str, len); |
