diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-25 07:59:34 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-25 08:10:09 +0200 |
commit | 163d1e8c247260eb1d40dcb463f3acff47d7c8d0 (patch) | |
tree | 2d4e420bb737d98e55df2bed9cc1144861fefee5 /cpukit/pppd | |
parent | bsp/qoriq: Add bsp_restart() (diff) | |
download | rtems-163d1e8c247260eb1d40dcb463f3acff47d7c8d0.tar.bz2 |
pppd: Fix warnings
Diffstat (limited to 'cpukit/pppd')
-rw-r--r-- | cpukit/pppd/chat.c | 2 | ||||
-rw-r--r-- | cpukit/pppd/rtemsmain.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/pppd/chat.c b/cpukit/pppd/chat.c index 45e2707158..6eeec97864 100644 --- a/cpukit/pppd/chat.c +++ b/cpukit/pppd/chat.c @@ -218,7 +218,7 @@ void *copy_of( return dup_mem(s, strlen (s) + 1); } -char *getnextcommand(char *string,char *buff) +static char *getnextcommand(char *string,char *buff) { char *token; int len; diff --git a/cpukit/pppd/rtemsmain.c b/cpukit/pppd/rtemsmain.c index 030bebe064..f5cddec66a 100644 --- a/cpukit/pppd/rtemsmain.c +++ b/cpukit/pppd/rtemsmain.c @@ -552,7 +552,7 @@ struct protocol_list { /* * protocol_name - find a name for a PPP protocol. */ -const char * +static const char * protocol_name( int proto) { |