Displaying 3 results from an estimated 3 matches for "210610c".
Did you mean:
210,10
2011 Aug 30
0
[PATCH] include: [mntent.h] Add MNTTYPE_SWAP definition
...ount code:
mount.c:1004:30: error: ?MNTTYPE_SWAP? undeclared (first use in this function)
..
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/mntent.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
index 210610c..104f35e 100644
--- a/usr/include/mntent.h
+++ b/usr/include/mntent.h
@@ -1,6 +1,8 @@
#ifndef _MNTENT_H
#define _MNTENT_H 1
+#define MNTTYPE_SWAP "swap"
+
struct mntent {
char *mnt_fsname; /* name of mounted file system */
char *mnt_dir; /* file system path prefix */
--
1...
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...s used in several places to check that a news fs
won't be created on an already mounted partition.
it is also needed for mount(8) to list mounted fs.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
index ca6b211..210610c 100644
--- a/usr/include/mntent.h
+++ b/usr/include/mntent.h
@@ -12,6 +12,8 @@ struct mntent {
extern FILE *setmntent(const char *, const char *);
+extern struct mntent *getmntent(FILE *);
+
extern int endmntent(FILE *fp);
#endif /* mntent.h */
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kb...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...s used in several places to check that a news fs
won't be created on an already mounted partition.
it is also needed for mount(8) to list mounted fs.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
index ca6b211..210610c 100644
--- a/usr/include/mntent.h
+++ b/usr/include/mntent.h
@@ -12,6 +12,8 @@ struct mntent {
extern FILE *setmntent(const char *, const char *);
+extern struct mntent *getmntent(FILE *);
+
extern int endmntent(FILE *fp);
#endif /* mntent.h */
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kb...