Fixed function prototypes for ring buffer