Commit ff1b8b2e authored by David Byers's avatar David Byers

Removed support for precompiled aux items.

parent f9aebe8a
/*
* $Id: aux-items.c,v 1.21 1999/06/26 11:55:34 ceder Exp $
* $Id: aux-items.c,v 1.22 1999/06/26 14:07:27 byers Exp $
* Copyright (C) 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -68,9 +68,9 @@ unsigned long num_aux_item_definitions = 0;
/* Variables local to this file */
static Aux_item_definition compiled_aux_items[] =
{
};
#if COMPILED_AUX_ITEMS
static Aux_item_definition compiled_aux_items[] = {};
#endif
/* Forward declaration of triggers */
......@@ -486,16 +486,17 @@ aux_item_definition_cache_regexp(Aux_item_definition *def,
void
initialize_aux_items(char *aux_def_file)
{
#if COMPILED_AUX_ITEMS
unsigned long i;
/* Set up precompiled items */
for (i = 0;
i < (sizeof(compiled_aux_items)/sizeof(*compiled_aux_items));
i++)
{
aux_item_definition_add(&compiled_aux_items[i]);
}
#endif
/* Read definitions from configuration file */
......
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