modules: update documentation examples so they compile under ccanlint.