PJ: fix prototypes for V settings and resources.
PJ: fix prototypes.