aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/libiproute/utils.c2
-rw-r--r--networking/libiproute/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c
index 2e2aa90f8..16ac30070 100644
--- a/networking/libiproute/utils.c
+++ b/networking/libiproute/utils.c
@@ -240,7 +240,7 @@ void incomplete_command(void)
exit(-1);
}
-void invarg(const char const *arg, const char const *opt)
+void invarg(const char * const arg, const char * const opt)
{
bb_error_msg(bb_msg_invalid_arg, arg, opt);
exit(-1);
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h
index af286c8f5..67631234e 100644
--- a/networking/libiproute/utils.h
+++ b/networking/libiproute/utils.h
@@ -77,7 +77,7 @@ extern int get_s8(__s8 *val, char *arg, int base);
extern const char *format_host(int af, int len, void *addr, char *buf, int buflen);
extern const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int buflen);
-void invarg(const char const*, const char const*) ATTRIBUTE_NORETURN;
+void invarg(const char * const, const char * const) ATTRIBUTE_NORETURN;
void duparg(char *, char *) ATTRIBUTE_NORETURN;
void duparg2(char *, char *) ATTRIBUTE_NORETURN;
int matches(char *arg, char *pattern);