Fixed some of the issues reported by Solaris Lint.

15 files changed