On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > None of these flags or debugging flags need to be exported. Move them all > library static: > > __hugetlbfs_debug > __hugetlbfs_hostname > __hugetlbfs_prefault > __hugetlbfs_verbose > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]>
> --- > libhugetlbfs_internal.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/libhugetlbfs_internal.h b/libhugetlbfs_internal.h > index 60ab346..77f8fcc 100644 > --- a/libhugetlbfs_internal.h > +++ b/libhugetlbfs_internal.h > @@ -52,8 +52,11 @@ > * them for export in libhugetlbfs_privutils; their definitions should > * appear in libhugetlbfs_privutils.h rather than here. > */ > +#define __hugetlbfs_verbose __lh___hugetlbfs_verbose > extern int __hugetlbfs_verbose; > +#define __hugetlbfs_debug __lh___hugetlbfs_debug > extern int __hugetlbfs_debug; > +#define __hugetlbfs_prefault __lh___hugetlbfs_prefault > extern int __hugetlbfs_prefault; > #define hugetlbfs_setup_elflink __lh_hugetlbfs_setup_elflink > extern void hugetlbfs_setup_elflink(); > @@ -65,6 +68,7 @@ extern void hugetlbfs_setup_debug(); > extern void setup_mounts(); > #define setup_features __lh_setup_features > extern void setup_features(); > +#define __hugetlbfs_hostname __lh___hugetlbfs_hostname > extern char __hugetlbfs_hostname[]; > #define hugetlbfs_prefault __lh_hugetlbfs_prefault > extern int hugetlbfs_prefault(int fd, void *addr, size_t length); -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel