From ec25c6214356b9c9aa8910072526df094a5e3d07 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Mar 2009 15:34:38 +0000 Subject: [PATCH] 2009-03-12 Joel Sherrill * ftpd/ftpd.h: Add extern C. --- cpukit/ChangeLog | 4 ++++ cpukit/ftpd/ftpd.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 102a41c8c2..1808058d40 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2009-03-12 Joel Sherrill + + * ftpd/ftpd.h: Add extern C. + 2009-03-12 Joel Sherrill PR 1393/cpukit diff --git a/cpukit/ftpd/ftpd.h b/cpukit/ftpd/ftpd.h index 43e58eeb65..36ef3fcefc 100644 --- a/cpukit/ftpd/ftpd.h +++ b/cpukit/ftpd/ftpd.h @@ -7,6 +7,9 @@ #ifndef _RTEMS_FTPD_H #define _RTEMS_FTPD_H +#ifdef __cplusplus +extern "C" { +#endif #define FTPD_CONTROL_PORT 21 @@ -53,4 +56,8 @@ struct rtems_ftpd_configuration int rtems_initialize_ftpd(void); +#ifdef __cplusplus +} +#endif + #endif /* _RTEMS_FTPD_H */