diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 15:34:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 15:34:38 +0000 |
commit | ec25c6214356b9c9aa8910072526df094a5e3d07 (patch) | |
tree | 6d9e1163b85fbe1c30212f2d7170deae885f8fd6 /cpukit | |
parent | 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-ec25c6214356b9c9aa8910072526df094a5e3d07.tar.bz2 |
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/ftpd/ftpd.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 102a41c8c2..1808058d40 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> + * ftpd/ftpd.h: Add extern C. + +2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> + PR 1393/cpukit * posix/src/mutextranslatereturncode.c: Add entry to table for CORE_MUTEX_RELEASE_NOT_ORDER. 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 */ |