[lxc-devel] [PATCH 03/17] Export the local getmntent_r implementation

Stéphane Graber stgraber at ubuntu.com
Fri Aug 16 15:13:49 UTC 2013


New code now uses getmntent_r so we need it exported so that it can be
used when building on bionic.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 src/include/lxcmntent.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/lxcmntent.h b/src/include/lxcmntent.h
index 528e8bc..5d84419 100644
--- a/src/include/lxcmntent.h
+++ b/src/include/lxcmntent.h
@@ -15,6 +15,7 @@ struct mntent
 };
 
 extern struct mntent *getmntent (FILE *stream);
+extern struct mntent *getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz);
 #endif
 
 #ifndef HAVE_SETMNTENT
-- 
1.8.3.2





More information about the lxc-devel mailing list