I think the subject is misleading. It says we are making it static, but
it's really moving headers. If it's meant to read "move to private
header", then it looks ok.

On Fri, Oct 17, 2008 at 05:14:14PM +0100, Andy Whitcroft wrote:
> Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
> ---
>  hugetlbfs.h             |    4 ----
>  libhugetlbfs_internal.h |    4 ++++
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/hugetlbfs.h b/hugetlbfs.h
> index fc23f9f..6b64ee7 100644
> --- a/hugetlbfs.h
> +++ b/hugetlbfs.h
> @@ -30,10 +30,6 @@ const char *hugetlbfs_find_path_for_size(long page_size);
>  int hugetlbfs_unlinked_fd(void);
>  int hugetlbfs_unlinked_fd_for_size(long page_size);
>  
> -/* Diagnoses/debugging only functions */
> -#define dump_proc_pid_maps __lh_dump_proc_pid_maps
> -long dump_proc_pid_maps(void);
> -
>  #define PF_LINUX_HUGETLB     0x100000
>  
>  /*
> diff --git a/libhugetlbfs_internal.h b/libhugetlbfs_internal.h
> index 3ee2c51..60ab346 100644
> --- a/libhugetlbfs_internal.h
> +++ b/libhugetlbfs_internal.h
> @@ -139,4 +139,8 @@ extern ElfW(Word) plt_extrasz(ElfW(Dyn) *dyntab);
>  #define hugetlbfs_test_pagesize __lh_hugetlbfs_test_pagesize
>  long hugetlbfs_test_pagesize(const char *mount);
>  
> +/* Diagnoses/debugging only functions */
> +#define dump_proc_pid_maps __lh_dump_proc_pid_maps
> +long dump_proc_pid_maps(void);
> +
>  #endif /* _LIBHUGETLBFS_INTERNAL_H */
> -- 
> 1.6.0.2.711.gf1ba4
> 

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

-------------------------------------------------------------------------
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

Reply via email to