From 624d691bdc9a97a54a24363560ced60f6067ef19 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 3 Mar 2020 19:23:27 +0100 Subject: libio: Constify some functions --- cpukit/include/rtems/libio_.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/include/rtems/libio_.h b/cpukit/include/rtems/libio_.h index 2473bb5e5a..916ba85b31 100644 --- a/cpukit/include/rtems/libio_.h +++ b/cpukit/include/rtems/libio_.h @@ -732,14 +732,14 @@ static inline bool rtems_filesystem_location_is_instance_root( } static inline const char *rtems_filesystem_eval_path_get_path( - rtems_filesystem_eval_path_context_t *ctx + const rtems_filesystem_eval_path_context_t *ctx ) { return ctx->path; } static inline size_t rtems_filesystem_eval_path_get_pathlen( - rtems_filesystem_eval_path_context_t *ctx + const rtems_filesystem_eval_path_context_t *ctx ) { return ctx->pathlen; @@ -763,14 +763,14 @@ static inline void rtems_filesystem_eval_path_clear_path( } static inline const char *rtems_filesystem_eval_path_get_token( - rtems_filesystem_eval_path_context_t *ctx + const rtems_filesystem_eval_path_context_t *ctx ) { return ctx->token; } static inline size_t rtems_filesystem_eval_path_get_tokenlen( - rtems_filesystem_eval_path_context_t *ctx + const rtems_filesystem_eval_path_context_t *ctx ) { return ctx->tokenlen; -- cgit v1.2.3