Commit 18ef57f8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(enum log_type): Removed the Log_type typedef.

(log_access): Use ``enum log_type'' instead of ``Log_type''.  (Bug 335).
parent a9d8baf6
/*
* $Id: simple-cache.c,v 0.93 2001/11/04 21:03:47 ceder Exp $
* $Id: simple-cache.c,v 0.94 2001/12/28 20:14:33 ceder Exp $
* Copyright (C) 1991-2000 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -169,7 +169,7 @@ BUGDECL;
the data base. */
#ifdef LOGACCESSES
typedef enum {
enum log_type {
lt_restart,
lt_text_stat,
lt_text_mass,
......@@ -196,13 +196,13 @@ typedef enum {
lt_get_highest, /* Get highest Local_text_no for a conf. */
lt_get_conf_type
/* Note: mark_*_as_changed is not logged. */
} Log_type;
};
static FILE *logfile = NULL;
static int syncing_or_saving = 0;
static int garb_running = 0;
static void log_access(Log_type t,
static void log_access(enum log_type t,
int id)
{
extern int putw(int, 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