summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-05-31 13:10:02 +0200
committerMarek Polacek <polacek@redhat.com>2012-05-31 13:10:02 +0200
commit3091725976856160a5427b03a9586af534b63750 (patch)
treeef9fb10b1cbb578e99d005260b0cc2c8b5d5db91 /include
parent1c58d5dcebbc41172316b3d28ee3fc58cf09aa13 (diff)
Remove use of INTUSE/INTDEF in misc.
Diffstat (limited to 'include')
-rw-r--r--include/mntent.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/mntent.h b/include/mntent.h
index 3a75f0ddfd..b34674aa3e 100644
--- a/include/mntent.h
+++ b/include/mntent.h
@@ -3,24 +3,15 @@
/* Now define the internal interfaces. */
extern FILE *__setmntent (const char *__file, const char *__mode);
-extern FILE *__setmntent_internal (const char *__file, const char *__mode);
extern struct mntent *__getmntent_r (FILE *__stream,
struct mntent *__result,
char *__buffer, int __bufsize);
-extern struct mntent *__getmntent_r_internal (FILE *__stream,
- struct mntent *__result,
- char *__buffer, int __bufsize)
- attribute_hidden;
extern int __addmntent (FILE *__stream, const struct mntent *__mnt);
extern int __endmntent (FILE *__stream);
-extern int __endmntent_internal (FILE *__stream) attribute_hidden;
extern char *__hasmntopt (const struct mntent *__mnt, const char *__opt);
-#ifndef NOT_IN_libc
-# define __setmntent(file, mode) INTUSE(__setmntent) (file, mode)
-# define __endmntent(stream) INTUSE(__endmntent) (stream)
-# define __getmntent_r(stream, result, buffer, bufsize) \
- INTUSE(__getmntent_r) (stream, result, buffer, bufsize)
-#endif
+libc_hidden_proto (__setmntent)
+libc_hidden_proto (__getmntent_r)
+libc_hidden_proto (__endmntent)
#endif