From cf4bcc3f1435eafa3ed8b5fadfa9698033d1e2df Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Jan 2022 17:07:41 +0100 Subject: Also add const qualifiers on server side Although in practice the buffers can be modified since they are from the message, it leads to missing const where it would otherwise make sense. --- utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 3a4c832..0524f0c 100644 --- a/utils.h +++ b/utils.h @@ -54,6 +54,8 @@ extern const char *ReturnTypeStr(const routine_t *rt); extern const char *FetchUserType(const ipc_type_t *it); extern const char *FetchServerType(const ipc_type_t *it); +extern const char *ServerVarQualifier(const argument_t *arg); + extern void WriteFieldDeclPrim(FILE *file, const argument_t *arg, const char *(*tfunc)(const ipc_type_t *it)); -- cgit v1.2.3