[tesla-dev] powertop> vars in header file, g_ prefix
Rafael Vanoni
Rafael.Vanoni at Sun.COM
Fri Dec 5 11:02:59 PST 2008
On 12/05/08 10:51, Rafael Vanoni wrote:
> Here's a patch to move the definition of global variables from
> powertop.h to powertop.c and leave the ones in the header as externs.
>
> This also adds a "g_" prefix to all of these global variables and
> removes 5/6 that weren't being used. The prefix is helpful given the
> number of global vars we need to keep around.
>
> It's a large file, but an easy one to go through ;)
> Please let me know what you think.
>
webrev @ http://cr.opensolaris.org/~rafaelv/ptop-gvars/
More information about the tesla-dev
mailing list