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

(struct cache_node): Removed the now redundant exists_b flag.

(insert_mru): No longer public.
parent 4e0c17a0
/* /*
* $Id: cache-node.h,v 0.6 1993/10/10 12:04:47 ceder Exp $ * $Id: cache-node.h,v 0.7 1994/04/04 13:59:16 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se. * Please mail bug reports to bug-lyskom@lysator.liu.se.
*/ */
/* /*
* $Id: cache-node.h,v 0.6 1993/10/10 12:04:47 ceder Exp $ * $Id: cache-node.h,v 0.7 1994/04/04 13:59:16 ceder Exp $
* *
* cache-node.h * cache-node.h
*/ */
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
typedef struct cache_node { typedef struct cache_node {
struct { struct {
unsigned int exists : 1; unsigned int exists : 1;
unsigned int exists_b : 1;
unsigned int dirty : 1; /* [r *ptr modifierad? */ unsigned int dirty : 1; /* [r *ptr modifierad? */
} s; } s;
void *snap_shot; /* Dirty data to be written to file B. */ void *snap_shot; /* Dirty data to be written to file B. */
...@@ -79,11 +78,6 @@ unlink_lru(Cache_node *node, ...@@ -79,11 +78,6 @@ unlink_lru(Cache_node *node,
Cache_node **lru, Cache_node **lru,
Cache_node **mru); Cache_node **mru);
extern void
insert_mru(Cache_node *node,
Cache_node **lru,
Cache_node **mru);
extern Cache_node_mcb * extern Cache_node_mcb *
create_cache_node_mcb(int mcb_size, create_cache_node_mcb(int mcb_size,
......
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