Commit f8c31ff4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(aux_item_def_check_trigger): Added static qualifier.

(aux_item_def_check_validate): Likewise.
parent 7370c801
%{ %{
/* /*
* $Id: aux-item-def-parse.y,v 1.9 1999/05/31 12:17:02 byers Exp $ * $Id: aux-item-def-parse.y,v 1.10 1999/07/10 22:33:03 ceder Exp $
* Copyright (C) 1994-1996, 1999 Lysator Academic Computer Association. * Copyright (C) 1994-1996, 1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -147,6 +147,7 @@ static int aux_item_def_check_assign(const char *, ...@@ -147,6 +147,7 @@ static int aux_item_def_check_assign(const char *,
struct aux_item_def_value_type *, struct aux_item_def_value_type *,
int); int);
static const char *aux_item_def_typename(int); static const char *aux_item_def_typename(int);
static
short aux_item_def_check_trigger(const char *check_name, short aux_item_def_check_trigger(const char *check_name,
int type, int type,
String trigger_name, String trigger_name,
...@@ -154,6 +155,7 @@ short aux_item_def_check_trigger(const char *check_name, ...@@ -154,6 +155,7 @@ short aux_item_def_check_trigger(const char *check_name,
unsigned long *counter, unsigned long *counter,
Aux_item_trigger **triggers); Aux_item_trigger **triggers);
static
short aux_item_def_check_validate(const char *check_name, short aux_item_def_check_validate(const char *check_name,
String field_name, String field_name,
int type, int type,
...@@ -429,12 +431,12 @@ static int aux_item_def_check_assign(const char *id, ...@@ -429,12 +431,12 @@ static int aux_item_def_check_assign(const char *id,
} }
} }
short aux_item_def_check_trigger(const char *check_name, static short aux_item_def_check_trigger(const char *check_name,
int type, int type,
String trigger_name, String trigger_name,
String function_name, String function_name,
unsigned long *counter, unsigned long *counter,
Aux_item_trigger **triggers) Aux_item_trigger **triggers)
{ {
Aux_item_trigger trigger; Aux_item_trigger trigger;
char *tmp_string; char *tmp_string;
...@@ -541,11 +543,11 @@ void parse_aux_item_definitions(char *file) ...@@ -541,11 +543,11 @@ void parse_aux_item_definitions(char *file)
} }
short aux_item_def_check_validate(const char *check_name, static short aux_item_def_check_validate(const char *check_name,
String field_name, String field_name,
int type, int type,
String data, String data,
Aux_item_definition *def) Aux_item_definition *def)
{ {
Aux_item_validation_function validator; Aux_item_validation_function validator;
char *tmp_string; char *tmp_string;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment