gte.c - turn more functions static