diff --git a/src/server/aux-item-def.y b/src/server/aux-item-def.y index 971b7a5ecee314874346692da2d6103cf8652516..c61dddd4cd8959f23b5c923089702f594592a27d 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,