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

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 16 15:22:37 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
> 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>

Acked-by: Serge E. Hallyn <serge.hallyn 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
> 
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list