From 163d1e8c247260eb1d40dcb463f3acff47d7c8d0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 25 Apr 2016 07:59:34 +0200 Subject: pppd: Fix warnings --- cpukit/pppd/chat.c | 2 +- cpukit/pppd/rtemsmain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/pppd') 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) { -- cgit v1.2.3