From patchwork Mon Jun 20 22:58:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 2097 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C3F0723E52 for ; Mon, 20 Jun 2011 22:58:57 +0000 (UTC) Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9570AA182CD for ; Mon, 20 Jun 2011 22:58:57 +0000 (UTC) Received: by mail-vx0-f180.google.com with SMTP id 7so2987210vxd.11 for ; Mon, 20 Jun 2011 15:58:57 -0700 (PDT) Received: by 10.52.162.72 with SMTP id xy8mr273140vdb.87.1308610737301; Mon, 20 Jun 2011 15:58:57 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs32811vdc; Mon, 20 Jun 2011 15:58:56 -0700 (PDT) Received: by 10.227.159.141 with SMTP id j13mr5680057wbx.108.1308610734911; Mon, 20 Jun 2011 15:58:54 -0700 (PDT) Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by mx.google.com with ESMTP id o2si10251779wbh.118.2011.06.20.15.58.53; Mon, 20 Jun 2011 15:58:53 -0700 (PDT) Received-SPF: neutral (google.com: 80.12.242.125 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.125; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.125 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.95.191]) by mwinf5d06 with ME id yNyp1g00347kPVY03NysD0; Tue, 21 Jun 2011 00:58:53 +0200 From: Daniel Lezcano To: linaro-dev@lists.linaro.org Subject: [powerdebug 07/17] Cleanup the headers Date: Tue, 21 Jun 2011 00:58:15 +0200 Message-Id: <1308610705-23281-7-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1308610705-23281-1-git-send-email-daniel.lezcano@linaro.org> References: <1308610705-23281-1-git-send-email-daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano --- clocks.c | 4 ++-- clocks.h | 1 - regulator.c | 2 +- regulator.h | 1 - sensor.c | 2 +- sensor.h | 1 - 6 files changed, 4 insertions(+), 7 deletions(-) diff --git a/clocks.c b/clocks.c index 411fcb2..93dd4b3 100644 --- a/clocks.c +++ b/clocks.c @@ -317,7 +317,7 @@ static int clock_print_info(void) return ret; } -int clock_toggle_expanded(void) +static int clock_toggle_expanded(void) { struct tree *t = display_get_row_data(CLOCK); struct clock_info *clk = t->private; @@ -332,7 +332,7 @@ int clock_toggle_expanded(void) * found in the files. Then print the result to the text based interface * Return 0 on success, < 0 otherwise */ -int clock_display(void) +static int clock_display(void) { if (read_clock_info()) return -1; diff --git a/clocks.h b/clocks.h index ab3bd36..aa94b3b 100644 --- a/clocks.h +++ b/clocks.h @@ -14,5 +14,4 @@ *******************************************************************************/ extern int clock_init(void); -extern int clock_display(void); extern int clock_dump(char *clk); diff --git a/regulator.c b/regulator.c index 4151fdb..c8cbe2d 100644 --- a/regulator.c +++ b/regulator.c @@ -156,7 +156,7 @@ static int regulator_print_header(void) } -int regulator_display(void) +static int regulator_display(void) { int ret, line = 0; diff --git a/regulator.h b/regulator.h index 1b59a57..8b3ec06 100644 --- a/regulator.h +++ b/regulator.h @@ -13,6 +13,5 @@ * - initial API and implementation *******************************************************************************/ -extern int regulator_display(void); extern int regulator_init(void); extern int regulator_dump(void); diff --git a/sensor.c b/sensor.c index 20602c0..399605b 100644 --- a/sensor.c +++ b/sensor.c @@ -250,7 +250,7 @@ static int sensor_print_header(void) return ret; } -int sensor_display(void) +static int sensor_display(void) { int ret, line = 0; diff --git a/sensor.h b/sensor.h index 4be90e6..0a069ce 100644 --- a/sensor.h +++ b/sensor.h @@ -14,5 +14,4 @@ *******************************************************************************/ extern int sensor_dump(void); -extern int sensor_display(void); extern int sensor_init(void);