aboutsummaryrefslogtreecommitdiff
path: root/kernel-features.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2008-10-16 18:08:17 +0100
committerEric B Munson <ebmunson@us.ibm.com>2008-10-21 11:14:24 +0100
commit3b2b9818760b04084d28989c2abb453c3bf73e23 (patch)
treef811d0c4688ad20291fc29cfa92da191052caa3d /kernel-features.c
parent06ab617c428ada6e3b9cff583a80de695a5cb795 (diff)
downloadlibhugetlbfs-3b2b9818760b04084d28989c2abb453c3bf73e23.tar.gz
make print_valid_features/check_features_env_valid file static
Signed-off-by: Andy Whitcroft <apw@shadowen.org> Acked-by: Adam Litke <agl@us.ibm.com> Acked-by: Mel Gorman <mel@csn.ul.ie>
Diffstat (limited to 'kernel-features.c')
-rw-r--r--kernel-features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel-features.c b/kernel-features.c
index 12ca644..89f76b6 100644
--- a/kernel-features.c
+++ b/kernel-features.c
@@ -158,7 +158,7 @@ int hugetlbfs_test_feature(int feature_code)
return feature_mask & (1 << feature_code);
}
-void print_valid_features(void)
+static void print_valid_features(void)
{
int i;
@@ -169,7 +169,7 @@ void print_valid_features(void)
kernel_features[i].name);
}
-int check_features_env_valid(const char *env)
+static int check_features_env_valid(const char *env)
{
const char *pos = env;
int i;