summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:34:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:34:29 +0000
commit47261f496cebe83354958005f3655323321ae377 (patch)
tree7e336fd6c21823dfdd6b5413dee994e30f7774ac /cpukit/ftpd
parent2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-47261f496cebe83354958005f3655323321ae377.tar.bz2
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r--cpukit/ftpd/ftpd.h7
1 files changed, 7 insertions, 0 deletions
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 */