| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| getline.c | ||
| getline.h | ||
| ifaddrs.c | ||
| ifaddrs.h | ||
| lxcmntent.c | ||
| lxcmntent.h | ||
| openpty.c | ||
| openpty.h |
Newer versions of Android (5.0+, aka API Level 21+) include mntent.h,
which declares setmntent and endmntent. This hits an edge
case with the preprocessor checks in lxcmntent.h because HAVE_SETMNTENT
and HAVE_ENDMNTENT are both defined (in Bionic's mntent.h), but conf.c
always includes lxcmntent.h on Bionic! As a result, we get compiler
warnings of implicit function declarations for setmntent endmntent.
This patch always includes setmntent/endmntent/hasmntopt function
declarations on Bionic, which gets rid of these warnings.
Signed-off-by:
Preetam D'Souza <preetamjdsouza@gmail.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| getline.c | Loading commit data... | |
| getline.h | Loading commit data... | |
| ifaddrs.c | Loading commit data... | |
| ifaddrs.h | Loading commit data... | |
| lxcmntent.c | Loading commit data... | |
| lxcmntent.h | Loading commit data... | |
| openpty.c | Loading commit data... | |
| openpty.h | Loading commit data... |