make some internal functions static; patch supplied by Kurt Roeckx
3 files changed