Converted all function definitions into prototype style in mkfs.c

I have looked at your code and have observed mixing of old and new style function declarations and definitions. Fixed all them by making them prototype-style.