R600: Make helper functions static.