summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:34:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-12 15:34:38 +0000
commitec25c6214356b9c9aa8910072526df094a5e3d07 (patch)
tree6d9e1163b85fbe1c30212f2d7170deae885f8fd6 /cpukit/ftpd
parent2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-ec25c6214356b9c9aa8910072526df094a5e3d07.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 */