Bluetooth: make baswap src const

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Loic Poulain
2017-09-01 13:41:17 -07:00
committed by Marcel Holtmann
parent dbbccdc4ce
commit 65bce46298
2 changed files with 4 additions and 4 deletions

View File

@@ -233,7 +233,7 @@ static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src)
memcpy(dst, src, sizeof(bdaddr_t));
}
void baswap(bdaddr_t *dst, bdaddr_t *src);
void baswap(bdaddr_t *dst, const bdaddr_t *src);
/* Common socket structures and functions */