2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 05:19:37 +00:00

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

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);
#endif
#ifndef HAVE_SETMNTENT
#if !defined(HAVE_SETMNTENT) || IS_BIONIC
FILE *setmntent (const char *file, const char *mode);
#endif
#ifndef HAVE_ENDMNTENT
#if !defined(HAVE_ENDMNTENT) || IS_BIONIC
int endmntent (FILE *stream);
#endif
#ifndef HAVE_HASMNTOPT
#if !defined(HAVE_HASMNTOPT) || IS_BIONIC
extern char *hasmntopt (const struct mntent *mnt, const char *opt);
#endif