summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-03 19:23:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-09 17:15:20 +0100
commit624d691bdc9a97a54a24363560ced60f6067ef19 (patch)
treef4043b55a91fb387ca112c9f60ee888a968ccadc
parentpsim: Rework device tree so devices do not conflict with 256MB RAM (diff)
downloadrtems-624d691bdc9a97a54a24363560ced60f6067ef19.tar.bz2
libio: Constify some functions
-rw-r--r--cpukit/include/rtems/libio_.h8
1 files 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;