summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 19:08:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 19:08:55 +0000
commit578a41501456b14f7718e445a57bf121d30b2a8c (patch)
treeb9c8f78f89ebb1928881a321ccaa4301d8d02a2a /cpukit/libfs
parentAdded call to freenod to let each filesystem free its own internal (diff)
downloadrtems-578a41501456b14f7718e445a57bf121d30b2a8c.tar.bz2
Corrected mistakes in the IMFS file handlers table and added the missing
routine imfs_fcntl.c
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/imfs/imfs.h5
-rw-r--r--cpukit/libfs/src/imfs/imfs_fcntl.c25
2 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h
index 0421e9e25c..f5ea346b44 100644
--- a/cpukit/libfs/src/imfs/imfs.h
+++ b/cpukit/libfs/src/imfs/imfs.h
@@ -447,6 +447,11 @@ int IMFS_fdatasync(
rtems_libio_t *iop
);
+int IMFS_fcntl(
+ int cmd,
+ rtems_libio_t *iop
+);
+
#ifdef __cplusplus
}
#endif
diff --git a/cpukit/libfs/src/imfs/imfs_fcntl.c b/cpukit/libfs/src/imfs/imfs_fcntl.c
new file mode 100644
index 0000000000..cbbbe1eedb
--- /dev/null
+++ b/cpukit/libfs/src/imfs/imfs_fcntl.c
@@ -0,0 +1,25 @@
+/*
+ * IMFS_fcntl
+ *
+ * The following routine does a fcntl on an IMFS node.
+ *
+ * COPYRIGHT (c) 1989-1998.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include "imfs.h"
+
+int IMFS_fcntl(
+ int cmd,
+ rtems_libio_t *iop
+)
+{
+ return 0;
+}