aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-24 09:19:37 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-03-24 09:19:37 +0000
commit0258b687228f0d9d5191615ba0a13f7496f09d3b (patch)
treec0eef2fb0cffb5988d636ae5b8af6d64fdbd4e86 /winsup/cygwin/include
parent6199f417abaf0cb1e90fb99c38e7f4672a84977e (diff)
downloadnewlib-0258b687228f0d9d5191615ba0a13f7496f09d3b.zip
newlib-0258b687228f0d9d5191615ba0a13f7496f09d3b.tar.gz
newlib-0258b687228f0d9d5191615ba0a13f7496f09d3b.tar.bz2
* include/mntent.h: Remove declarations of nonexistant addmntent
and hasmntopt. Update and clarify the /etc/mtab comment.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/mntent.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/winsup/cygwin/include/mntent.h b/winsup/cygwin/include/mntent.h
index 5fa4ff9..c284cc7 100644
--- a/winsup/cygwin/include/mntent.h
+++ b/winsup/cygwin/include/mntent.h
@@ -1,6 +1,6 @@
/* mntent.h
- Copyright 1996, 1998, 1999, 2000, 2001, 2006 Red Hat, Inc.
+ Copyright 1996, 1998, 1999, 2000, 2001, 2006, 2009 Red Hat, Inc.
This file is part of Cygwin.
@@ -29,18 +29,17 @@ struct mntent
#include <stdio.h>
FILE *setmntent (const char *__filep, const char *__type);
struct mntent *getmntent (FILE *__filep);
-int addmntent (FILE *__filep, const struct mntent *__mnt);
int endmntent (FILE *__filep);
-char *hasmntopt (const struct mntent *__mnt, const char *__opt);
#endif
-/* This next file doesn't exist, it is in the registry,
- however applications need the define to pass to
- the above calls.
+/* This next file does exist, but the implementation of these
+ functions does not actually use it.
+ However, applications need the define to pass to setmntent().
*/
#ifndef MOUNTED
#define MOUNTED "/etc/mtab"
#endif
+
#ifdef __cplusplus
};
#endif