On 03.02.2012 16:54, Christian Seiler wrote: > --- > src/lxc/cgroup.h | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/src/lxc/cgroup.h b/src/lxc/cgroup.h > index 188d948..31dd2de 100644 > --- a/src/lxc/cgroup.h > +++ b/src/lxc/cgroup.h > @@ -26,9 +26,9 @@ > #define MAXPRIOLEN 24 > > struct lxc_handler; > -int lxc_cgroup_create(const char *name, pid_t pid); > -int lxc_cgroup_destroy(const char *name); > -int lxc_cgroup_path_get(char **path, const char *subsystem, const char > *name); > -int lxc_cgroup_nrtasks(const char *name); > -int lxc_ns_is_mounted(void); > +extern int lxc_cgroup_create(const char *name, pid_t pid); > +extern int lxc_cgroup_destroy(const char *name); > +extern int lxc_cgroup_path_get(char **path, const char *subsystem, const > char *name); > +extern int lxc_cgroup_nrtasks(const char *name); > +extern int lxc_ns_is_mounted(void);
Note that "extern" keyword on function declarations has no effect whatsoever. /mjt ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel