Add WARN_UNUSED_RESULT to procedure function prototypes