From: Changcheng Liu Date: Wed, 6 May 2020 01:08:37 +0000 (+0800) Subject: common/buffer: align parameter type in interface & implementation X-Git-Tag: v16.1.0~1999^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=896bf9a73a3d9901544e0ed157eaffdff9d86a9e;p=ceph.git common/buffer: align parameter type in interface & implementation Signed-off-by: Changcheng Liu --- diff --git a/src/include/buffer.h b/src/include/buffer.h index a895e1c967ab..91caab2accb2 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -1132,7 +1132,7 @@ struct error_code; void append_zero(unsigned len); void prepend_zero(unsigned len); - reserve_t obtain_contiguous_space(unsigned len); + reserve_t obtain_contiguous_space(const unsigned len); /* * get a char