diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 15:34:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-12 15:34:29 +0000 |
commit | 47261f496cebe83354958005f3655323321ae377 (patch) | |
tree | 7e336fd6c21823dfdd6b5413dee994e30f7774ac | |
parent | 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-47261f496cebe83354958005f3655323321ae377.tar.bz2 |
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
-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 a702f9f244..cce6239b9e 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 */ |