summaryrefslogtreecommitdiff
path: root/misc/mntent.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mntent.h')
-rw-r--r--misc/mntent.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/misc/mntent.h b/misc/mntent.h
index ca45710f8e..f7101c19dd 100644
--- a/misc/mntent.h
+++ b/misc/mntent.h
@@ -64,7 +64,6 @@ struct mntent
/* Prepare to begin reading and/or writing mount table entries from the
beginning of FILE. MODE is as for `fopen'. */
-extern FILE *__setmntent __P ((__const char *__file, __const char *__mode));
extern FILE *setmntent __P ((__const char *__file, __const char *__mode));
/* Read one mount table entry from STREAM. Returns a pointer to storage
@@ -74,9 +73,6 @@ extern struct mntent *getmntent __P ((FILE *__stream));
#ifdef __USE_MISC
/* Reentrant version of the above function. */
-extern struct mntent *__getmntent_r __P ((FILE *__stream,
- struct mntent *__result,
- char *__buffer, int __bufsize));
extern struct mntent *getmntent_r __P ((FILE *__stream,
struct mntent *__result,
char *__buffer, int __bufsize));
@@ -84,17 +80,13 @@ extern struct mntent *getmntent_r __P ((FILE *__stream,
/* Write the mount table entry described by MNT to STREAM.
Return zero on success, nonzero on failure. */
-extern int __addmntent __P ((FILE *__stream, __const struct mntent *__mnt));
extern int addmntent __P ((FILE *__stream, __const struct mntent *__mnt));
/* Close a stream opened with `setmntent'. */
-extern int __endmntent __P ((FILE *__stream));
extern int endmntent __P ((FILE *__stream));
/* Search MNT->mnt_opts for an option matching OPT.
Returns the address of the substring, or null if none found. */
-extern char *__hasmntopt __P ((__const struct mntent *__mnt,
- __const char *__opt));
extern char *hasmntopt __P ((__const struct mntent *__mnt,
__const char *__opt));