From d10bb92ebd0c039aa31abfd6ece019eb9d49a42a Mon Sep 17 00:00:00 2001 From: Per Cederqvist Date: Wed, 8 Jul 1998 15:57:53 +0000 Subject: [PATCH] (aux_item_def_typename): Added const qualifier to the return value. (aux_item_def_check_assign): Added const qualifier to the id argument. (aux_item_def_check_trigger): Added const qualifier to the check_name argument. --- src/server/aux-item-def.y | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/server/aux-item-def.y b/src/server/aux-item-def.y index 971b7a5e..c61dddd4 100644 --- a/src/server/aux-item-def.y +++ b/src/server/aux-item-def.y @@ -1,6 +1,6 @@ %{ /* - * $Id: aux-item-def.y,v 1.2 1998/06/14 14:50:41 byers Exp $ + * $Id: aux-item-def.y,v 1.3 1998/07/08 15:57:53 ceder Exp $ * Copyright (C) 1994, 1995, 1996 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -91,14 +91,14 @@ void yyerror(); #endif struct aux_item_def_value_type; -static int aux_item_def_check_assign(char *, +static int aux_item_def_check_assign(const char *, String, void *, int, struct aux_item_def_value_type *, int); -static char *aux_item_def_typename(int); -short aux_item_def_check_trigger(char *check_name, +static const char *aux_item_def_typename(int); +short aux_item_def_check_trigger(const char *check_name, int type, String trigger_name, String function_name, @@ -323,7 +323,7 @@ void yyerror(const char *s, } #endif -static char *aux_item_def_typename(int type) +static const char *aux_item_def_typename(int type) { switch (type) { @@ -336,7 +336,7 @@ static char *aux_item_def_typename(int type) } } -static int aux_item_def_check_assign(char *id, +static int aux_item_def_check_assign(const char *id, String field, void *data, int type, @@ -378,7 +378,7 @@ static int aux_item_def_check_assign(char *id, } } -short aux_item_def_check_trigger(char *check_name, +short aux_item_def_check_trigger(const char *check_name, int type, String trigger_name, String function_name, -- GitLab