]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - include/mntent.h
Add per-thread cache to malloc
[thirdparty/glibc.git] / include / mntent.h
index 7035630444bf6606b19f365fa063f4b6ab6c2d76..169210fc6602efe6eabb177cc3d51f1a4f0f6ee0 100644 (file)
@@ -1,13 +1,20 @@
 #ifndef _MNTENT_H
 #include <misc/mntent.h>
 
+# ifndef _ISOMAC
+
 /* Now define the internal interfaces.  */
-extern FILE *__setmntent (__const char *__file, __const char *__mode);
+extern FILE *__setmntent (const char *__file, const char *__mode);
 extern struct mntent *__getmntent_r (FILE *__stream,
                                     struct mntent *__result,
                                     char *__buffer, int __bufsize);
-extern int __addmntent (FILE *__stream, __const struct mntent *__mnt);
+extern int __addmntent (FILE *__stream, const struct mntent *__mnt);
 extern int __endmntent (FILE *__stream);
-extern char *__hasmntopt (__const struct mntent *__mnt,
-                         __const char *__opt);
+extern char *__hasmntopt (const struct mntent *__mnt, const char *__opt);
+
+libc_hidden_proto (__setmntent)
+libc_hidden_proto (__getmntent_r)
+libc_hidden_proto (__endmntent)
+
+# endif /* !_ISOMAC */
 #endif