remove unused arguments from prototypes