From 583f14ccbde9af969a60527a004203c4a488e659 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 16 Jul 2012 18:52:30 +0200 Subject: lscpu: fix compiler warning [-Wmissing-prototypes] Signed-off-by: Karel Zak --- sys-utils/lscpu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys-utils/lscpu.c') diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index e48f59579..3984b2d50 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -246,7 +246,8 @@ static struct lscpu_coldesc coldescs[] = [COL_ONLINE] = { "ONLINE", N_("shows if Linux currently makes use of the CPU") } }; -static int column_name_to_id(const char *name, size_t namesz) +static int +column_name_to_id(const char *name, size_t namesz) { size_t i; @@ -265,7 +266,8 @@ static int column_name_to_id(const char *name, size_t namesz) * * " : " */ -int lookup(char *line, char *pattern, char **value) +static int +lookup(char *line, char *pattern, char **value) { char *p, *v; int len = strlen(pattern); -- cgit v1.2.3-55-g7522