From d4595bb00f1365c65fddf11efd7d8d091b453482 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 7 Aug 2009 17:41:10 +0200 Subject: All worker functions are local. --- cpu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu.lua') diff --git a/cpu.lua b/cpu.lua index c208d2c..5251670 100644 --- a/cpu.lua +++ b/cpu.lua @@ -22,7 +22,7 @@ local cpu_total = {} local cpu_active = {} -- {{{ CPU widget type -function worker(format) +local function worker(format) -- Get /proc/stat local f = io.open("/proc/stat") local cpu_lines = {} -- cgit v1.2.3