summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-14 16:51:50 +0000
committerBernhard Reutner-Fischer2006-06-14 16:51:50 +0000
commitf1bd42a305d1bb30e7dcafbc907a1c7f6e5d5cbf (patch)
tree38404111ca63f72bd0131653c140a57f0f9d09fc /networking
parentdf798b7f58237e414e738fa0bd453cf13471bf76 (diff)
downloadbusybox-f1bd42a305d1bb30e7dcafbc907a1c7f6e5d5cbf.zip
busybox-f1bd42a305d1bb30e7dcafbc907a1c7f6e5d5cbf.tar.gz
- correct typo
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 2e2aa90..16ac300 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 af286c8..6763123 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);