@@ -1855,7 +1855,8 @@ struct smbd_connection *smbd_get_connection(
* consumed. But this will require more changes to upper layer code, and also
* need to consider packet boundaries while they still being reassembled.
*/
-int smbd_recv_buf(struct smbd_connection *info, char *buf, unsigned int size)
+static int smbd_recv_buf(struct smbd_connection *info, char *buf,
+ unsigned int size)
{
struct smbd_response *response;
struct smbd_data_transfer *data_transfer;
@@ -1995,8 +1996,8 @@ int smbd_recv_buf(struct smbd_connection *info, char *buf, unsigned int size)
* to_read: the length of data to read
* return value: actual data read
*/
-int smbd_recv_page(struct smbd_connection *info,
- struct page *page, unsigned int to_read)
+static int smbd_recv_page(struct smbd_connection *info,
+ struct page *page, unsigned int to_read)
{
int ret;
char *to_address;