From f1bd42a305d1bb30e7dcafbc907a1c7f6e5d5cbf Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 14 Jun 2006 16:51:50 +0000 Subject: [PATCH] - correct typo --- networking/libiproute/utils.c | 2 +- networking/libiproute/utils.h | 2 +- 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); -- 2.25.1