summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libugly/setmntent.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/libugly/setmntent.c')
-rw-r--r--mdk-stage1/dietlibc/libugly/setmntent.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/libugly/setmntent.c b/mdk-stage1/dietlibc/libugly/setmntent.c
new file mode 100644
index 000000000..a91d3902b
--- /dev/null
+++ b/mdk-stage1/dietlibc/libugly/setmntent.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <mntent.h>
+
+FILE *setmntent(const char *filename, const char *type) {
+ return fopen(filename,type);
+}
+