aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2018-02-03 16:06:47 +0100
committerBartosz Golaszewski <bartekgola@gmail.com>2018-02-03 16:06:47 +0100
commit610a8111bc78ce7c7de76f20fc1b9269155134a6 (patch)
tree742a0f5b257be8c29545126a4b72f663513d9db9 /include
parent7b493a5019d1a9f7a7b4ce2e87700ed432969f66 (diff)
downloadexternal_libgpiod-610a8111bc78ce7c7de76f20fc1b9269155134a6.tar.gz
external_libgpiod-610a8111bc78ce7c7de76f20fc1b9269155134a6.tar.bz2
external_libgpiod-610a8111bc78ce7c7de76f20fc1b9269155134a6.zip
core: constify *values in gpiod_line_set_value_bulk()
The values in the array passed as argument to this routine are never modified. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpiod.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpiod.h b/include/gpiod.h
index ede5615..d37e60c 100644
--- a/include/gpiod.h
+++ b/include/gpiod.h
@@ -1006,7 +1006,7 @@ int gpiod_line_set_value(struct gpiod_line *line, int value) GPIOD_API;
* undefined.
*/
int gpiod_line_set_value_bulk(struct gpiod_line_bulk *bulk,
- int *values) GPIOD_API;
+ const int *values) GPIOD_API;
/**
* @}