]> git.itanic.dy.fi Git - rrdd/commit
rrdtool: Improve argument list modification macro
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 7 Mar 2011 08:24:08 +0000 (10:24 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 7 Mar 2011 08:32:57 +0000 (10:32 +0200)
commit77ffeb2a43b604b9a25a389bed8316483a4b1642
treebcd7fc0b154b212cca04ef0530ab11d2cc08a37e
parenta9982ba747e2f99446eda7df1b812c265c8849c5
rrdtool: Improve argument list modification macro

The name of the macro was not very descriptive, "add_arg" describes
the functionality much better.

Instead of modifying some magic function variables, give the variables
as parameters to the macro. This makes it much more clear how the
thing actually works.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
rrdtool.c