Update minigen.c

Removed unnecessary "static" keyword