fixed static declr complaint by gcc2