aboutsummaryrefslogtreecommitdiff
path: root/misc/mntent.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mntent.h')
-rw-r--r--misc/mntent.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/mntent.h b/misc/mntent.h
index f7101c1..6acd532 100644
--- a/misc/mntent.h
+++ b/misc/mntent.h
@@ -73,14 +73,16 @@ 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 *__restrict __stream,
+ struct mntent *__restrict __result,
+ char *__restrict __buffer,
+ int __bufsize));
#endif
/* 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 *__restrict __stream,
+ __const struct mntent *__restrict __mnt));
/* Close a stream opened with `setmntent'. */
extern int endmntent __P ((FILE *__stream));