swr: remove obsolete function prototypes.