Updated 'get_link_socket_info' function to use argument 'struct context *' as a const value as it is not modified in this function. This silences a gcc warning in wtmp.c. -- forward-inline.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/forward-inline.h b/forward-inline.h index 09b9809..c3f60af 100644 --- a/forward-inline.h +++ b/forward-inline.h @@ -215,7 +215,7 @@ context_reschedule_sec (struct context *c, int sec) } static inline struct link_socket_info * -get_link_socket_info (struct context *c) +get_link_socket_info (const struct context *c) { if (c->c2.link_socket_info) return c->c2.link_socket_info;