From 41034b4fbb80850838585fff110d386b8891f5e2 Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Mon, 11 Jan 2016 18:52:30 +0300 Subject: Minor cleanup Signed-off-by: Eric Koegel --- src/ck-sysdeps-linux.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ck-sysdeps-linux.c b/src/ck-sysdeps-linux.c index 36dee4a..d3d1b5a 100644 --- a/src/ck-sysdeps-linux.c +++ b/src/ck-sysdeps-linux.c @@ -779,8 +779,7 @@ ck_get_active_console_num (int console_fd, } /* adapted from upower-0.9 branch */ -gfloat linux_get_used_swap(void); -gfloat +static gfloat linux_get_used_swap (void) { gchar *contents = NULL; @@ -837,8 +836,7 @@ out: } /* adapted from upower-0.9 branch */ -gboolean linux_check_enough_swap (void); -gboolean +static gboolean linux_check_enough_swap (void) { gfloat waterline = 98.0f; /* 98% */ -- cgit v1.2.3