Re: [obv] Make 'disable_display' static.

Gary Benson
2013-01-11T15:27:05Z

Tom Tromey wrote:
> In fact I think it is better to have the discussion around exporting
> objects than around making them static. The default ought to be
> static, as much as possible, to reduce the size of a module's API.

I agree. Aside from what Tom said, making functions static marks them
as local. If I touch some code using a static function I tend to look
into it a bit more--how many times is it used, can I refactor it, might
I change the parameters to save work, that kind of thing. I tend not
to do this kind of investigation for external functions unless I have
a very compelling reason.

Cheers,
Gary

--