[collectd] [PATCH 0/4] Some simple cleanups
Michał Mirosław
mirq-linux at rere.qmqm.pl
Sat Jun 21 22:18:37 CEST 2008
On Thu, Jun 12, 2008 at 10:39:46AM +0200, Florian Forster wrote:
> On Wed, Jun 11, 2008 at 11:38:14PM +0200, Michał Mirosław wrote:
> > You probably can use the 'walk_directory()' function in other plugins.
> There are a couple of plugins reading directories, so they could be
> changed to use it.. If you want, you can put `walk_directory()' into
> common.c and change the directory reading plugins to use it.. The
> following files use `readdir' right now:
[cut]
So here are two patches that move common functions from thermal plugin
to common.c, and two more that modify battery plugin and processes
plugin to use them.
-- Michał Mirosław
More information about the collectd
mailing list