Re: [RFA/commit] procfs.c: Remove unused functions and make many functions static

Maciej W. Rozycki
2012-05-04T22:49:21Z

On Fri, 4 May 2012, Joel Brobecker wrote:

> Even if the initial intention was to provide an API, I do not think
> it's a good idea to keep maintaining dead code. Making functions
> static is often a big help in figuring out the potential call sites
> (you immediately know that you do not have to grep the entire repo).

I agree, I just raised my point for the avoidance of doubt. Also we have
a public repository these days where individual changes can be reasonably
easy to track for any code to resurrect if needed -- something that GDB
certainly did not have back in 1991.

Maciej