From 805360b8e50e69573ec446674f640c9b7704cb34 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Sep 2014 14:20:35 +0200 Subject: pppd: Fix warnings --- cpukit/pppd/rtemspppd.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'cpukit/pppd/rtemspppd.h') diff --git a/cpukit/pppd/rtemspppd.h b/cpukit/pppd/rtemspppd.h index d927650707..a6c8d0b398 100644 --- a/cpukit/pppd/rtemspppd.h +++ b/cpukit/pppd/rtemspppd.h @@ -6,13 +6,14 @@ * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE. - * - * $Id$ */ #ifndef RTEMSPPPD_H #define RTEMSPPPD_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ /* define hook function identifiers */ #define RTEMS_PPPD_LINKUP_HOOK 1 @@ -37,4 +38,12 @@ int rtems_pppd_set_option(const char *pOption, const char *pValue); int rtems_pppd_connect(void); int rtems_pppd_disconnect(void); +struct rtems_bsdnet_ifconfig; + +int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif -- cgit v1.2.3