aboutsummaryrefslogtreecommitdiff
path: root/entropy.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-07 17:41:10 +0200
commitd4595bb00f1365c65fddf11efd7d8d091b453482 (patch)
tree9cf3e5976b9fa7ad14bf84ec4c3fc2fd00ffc7a6 /entropy.lua
parent8b38567d751848d93b18e96de1cddde339ebdbf0 (diff)
downloadvicious-legacy-d4595bb00f1365c65fddf11efd7d8d091b453482.tar.xz
All worker functions are local.
Diffstat (limited to 'entropy.lua')
-rw-r--r--entropy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/entropy.lua b/entropy.lua
index 33da459..1146a0e 100644
--- a/entropy.lua
+++ b/entropy.lua
@@ -16,7 +16,7 @@ module("vicious.entropy")
-- {{{ Entropy widget type
-function worker(format, poolsize)
+local function worker(format, poolsize)
-- Don't waste time opening the poolsize, Linux 2.6 has a default
-- entropy pool of 4096-bits, if needed specify otherwise
if poolsize == nil then poolsize = 4096 end