summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libfs/src/imfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 13:40:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 13:40:30 +0000
commitb440e57bdb060337e64d1d9dc4dc08887a161b55 (patch)
tree8db7b54ad0c326a488c964c1931ea1d1a9644e2e /c/src/exec/libfs/src/imfs
parentsem_close was accidentally lost in the split. (diff)
downloadrtems-b440e57bdb060337e64d1d9dc4dc08887a161b55.tar.bz2
Added imfs_unixstub.c to satisfy linker problems on UNIX port.
Diffstat (limited to 'c/src/exec/libfs/src/imfs')
-rw-r--r--c/src/exec/libfs/src/imfs/imfs_unixstub.c71
1 files changed, 71 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_unixstub.c b/c/src/exec/libfs/src/imfs/imfs_unixstub.c
new file mode 100644
index 0000000000..1ba71c9a42
--- /dev/null
+++ b/c/src/exec/libfs/src/imfs/imfs_unixstub.c
@@ -0,0 +1,71 @@
+/*
+ * IMFS Stub for UNIX configuration
+ *
+ * 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 <sys/types.h> /* for mkdir */
+#include <fcntl.h>
+#include <unistd.h>
+#include <stdlib.h>
+
+#include <assert.h>
+
+#include "imfs.h"
+#include "libio_.h"
+
+#include <stdio.h>
+
+/*
+ * IMFS file system operations table
+ */
+
+rtems_filesystem_operations_table IMFS_ops = {
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+};
+
+/*
+ * IMFS file system operations table
+ */
+
+rtems_filesystem_operations_table miniIMFS_ops = {
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+};