Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugeutils.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hugeutils.c b/hugeutils.c index 81a834a..e053691 100644 --- a/hugeutils.c +++ b/hugeutils.c @@ -122,7 +122,7 @@ struct hugetlb_pool_counter_info_t { char *sysfs_file; }; -struct hugetlb_pool_counter_info_t hugetlb_counter_info[] = { +static struct hugetlb_pool_counter_info_t hugetlb_counter_info[] = { [HUGEPAGES_TOTAL] = { .meminfo_key = "HugePages_Total:", .sysfs_file = "nr_hugepages", @@ -217,7 +217,7 @@ int file_write_ulong(char *file, unsigned long val) * and a page size return both a filename and an optional tag to locate * and extract this counter. */ -int select_pool_counter(unsigned int counter, unsigned long pagesize, +static int select_pool_counter(unsigned int counter, unsigned long pagesize, char *filename, char **key) { long default_size; -- 1.6.0.2.711.gf1ba4 ------------------------------------------------------------------------- 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