summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-28 17:46:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-28 17:46:40 +0000
commitf8d36645101b1945ae393e69ca7a60306ced01fe (patch)
tree3379df09d342da80c91a940c077d397a13f98982
parentAdded cast to remove warning. (diff)
downloadrtems-f8d36645101b1945ae393e69ca7a60306ced01fe.tar.bz2
Added prototype of fdopen() since it is not strict ANSI and not
having a prototype caused warnings.
-rw-r--r--c/src/libnetworking/rtems_servers/ftpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/libnetworking/rtems_servers/ftpd.c b/c/src/libnetworking/rtems_servers/ftpd.c
index 25b1f3c4e4..aef88c82c7 100644
--- a/c/src/libnetworking/rtems_servers/ftpd.c
+++ b/c/src/libnetworking/rtems_servers/ftpd.c
@@ -899,6 +899,11 @@ rtems_ftpd_session(rtems_task_argument arg)
* Change History: *
* 12/01/97 - Creation (JWJ) *
*************************************************************************/
+
+/* this is not prototyped in strict ansi mode */
+
+FILE *fdopen (int fildes, const char *mode);
+
static void
rtems_ftpd_daemon()
{