Various minor fixes for compiler/linter (other then splint itself) warnings.
Mostly these are adding preprocessor guards to avoid building of unused
routines, or to make some routines static. Most of the 'removed'
routines are those that print the content of different data types. What
is interesting (and a bit worysome) is the fact that some of the
routines are memory deallocation routines, letting us assume that at
least in some places compound structures are not correctly freed (and
memory is lost).
Unneeded header inclusion was also handled.
Files sRefList.{c,h} are removed, as they weren't used.