]> granicus.if.org Git - procps-ng/commit
top: standardize names of all 'helper' functions
authorJim Warner <james.warner@comcast.net>
Tue, 7 Feb 2012 17:11:11 +0000 (11:11 -0600)
committerCraig Small <csmall@enc.com.au>
Sun, 12 Feb 2012 10:52:23 +0000 (21:52 +1100)
commit270e8e7eeb66b47569940f537cdad4ab46cd36be
tree607f773a065536c6cc139e1336cd2e9b2beb679d
parent02508b3d76af5bc33c7e559b84d3e5e123cdf2ac
top: standardize names of all 'helper' functions

The top program is carefully organized into sections
and those sections are carefully placed so as to avoid
the need for prototypes. *

Additionally, names of functions are carefully chosen
to maintain alphabetical order within each section.

The names of most 'helper' functions, which are always
placed immediately above the calling functions, often
only met the spirit of the alphabetical law, not the
actual letter of that law.

This commit alters the names of such helper functions
so as to mainatin strict ascii alphabetical order
within each section.

* the single exception to prototypes is find_string,
  which calls the task_show function, and would have
  prompted a massive reorganization.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c
top/top.h