]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Export the local getmntent_r implementation
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 16 Aug 2013 10:18:15 +0000 (12:18 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 Aug 2013 12:32:59 +0000 (14:32 +0200)
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@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/include/lxcmntent.h

index 528e8bc0538d53a70d050d957e6789f1287ccae4..5d84419a2bdf5ec4185c8663be24dd4d3b0d6cea 100644 (file)
@@ -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