Restored C89 compatibility a bit. Removed the trigH functions.