Merge pull request #1063 from pdsouza/pdsouza/fix-bionic-lxcmntent

Include all lxcmntent.h function declarations on Bionic
This commit is contained in:
Stéphane Graber 2016-06-28 13:36:46 -04:00 committed by GitHub
commit d6c86f57fa

View File

@ -36,15 +36,15 @@ extern struct mntent *getmntent (FILE *stream);
extern struct mntent *getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz); extern struct mntent *getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz);
#endif #endif
#ifndef HAVE_SETMNTENT #if !defined(HAVE_SETMNTENT) || IS_BIONIC
FILE *setmntent (const char *file, const char *mode); FILE *setmntent (const char *file, const char *mode);
#endif #endif
#ifndef HAVE_ENDMNTENT #if !defined(HAVE_ENDMNTENT) || IS_BIONIC
int endmntent (FILE *stream); int endmntent (FILE *stream);
#endif #endif
#ifndef HAVE_HASMNTOPT #if !defined(HAVE_HASMNTOPT) || IS_BIONIC
extern char *hasmntopt (const struct mntent *mnt, const char *opt); extern char *hasmntopt (const struct mntent *mnt, const char *opt);
#endif #endif