Commit e11f9b95 authored by Per Cederqvist's avatar Per Cederqvist

Include services.h.

(aux_item_definition_cache_regexp): Now static.
(initialize_aux_items): Removed declaration of parse_aux_item_definitions.
(aux_item_call_add_triggers): Now static.
(aux_item_call_delete_triggers): Now static.
(aux_item_call_undelete_triggers): Now static.
parent 548b8e9c
/*
* $Id: aux-items.c,v 1.3 1998/06/14 14:50:42 byers Exp $
* $Id: aux-items.c,v 1.4 1998/07/08 16:11:37 ceder Exp $
* Copyright (C) 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -47,6 +47,7 @@
#include "config.h"
#include "regex.h"
#include "log.h"
#include "services.h"
#define AUX_ADJUST_FLAG(flg) item->flags.flg = (def->clear_flags.flg)?0:((def->set_flags.flg)?1:item->flags.flg)
......@@ -270,7 +271,8 @@ aux_item_definition_add(Aux_item_definition *def)
aux_item_definition_list = new_definition;
}
void aux_item_definition_cache_regexp(Aux_item_definition *def)
static void
aux_item_definition_cache_regexp(Aux_item_definition *def)
{
struct re_pattern_buffer *pat_buf;
const char *errmsg;
......@@ -314,7 +316,6 @@ initialize_aux_items(char *aux_def_file)
{
unsigned long i;
Aux_item_definition *def;
extern void parse_aux_item_definitions(char *);
/* Set up precompiled items */
......@@ -344,12 +345,12 @@ initialize_aux_items(char *aux_def_file)
/* TRIGGER THINGS */
void aux_item_call_add_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument
)
static void
aux_item_call_add_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument)
{
unsigned long i;
Aux_item_trigger_data data;
......@@ -366,12 +367,12 @@ void aux_item_call_add_triggers(Aux_item_definition *def,
}
}
void aux_item_call_delete_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument
)
static void
aux_item_call_delete_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument)
{
unsigned long i;
Aux_item_trigger_data data;
......@@ -388,12 +389,12 @@ void aux_item_call_delete_triggers(Aux_item_definition *def,
}
}
void aux_item_call_undelete_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument
)
static void
aux_item_call_undelete_triggers(Aux_item_definition *def,
short object_type,
unsigned long item_index,
unsigned long integer_argument,
void * pointer_argument)
{
unsigned long i;
Aux_item_trigger_data data;
......
Markdown is supported
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