Removed redundant buf_data() declaration.
Removed redundant const declarations.