From efb1c0d53c0ad83bf13ffc808ae25003aad75b17 Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Sat, 1 Oct 2005 15:38:56 +0000 Subject: [PATCH] Minor cleanup: get rid of an unnecessary forward declaration. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3115 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/proc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/proc.c b/lib/proc.c index e9952d51..7e63d8af 100644 --- a/lib/proc.c +++ b/lib/proc.c @@ -41,8 +41,6 @@ static char buf[BUF_LEN]; -static int sensors_get_chip_id(sensors_chip_name name); - static int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag, char *altsysname); @@ -126,7 +124,7 @@ ERROR: /* This returns the first detected chip which matches the name */ -int sensors_get_chip_id(sensors_chip_name name) +static int sensors_get_chip_id(sensors_chip_name name) { int i; for (i = 0; i < sensors_proc_chips_count; i++)