~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to lib/Splay.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: Splay.cc,v 1.3 2004/08/30 05:12:30 robertc Exp $
 
3
 *
 
4
 * based on ftp://ftp.cs.cmu.edu/user/sleator/splaying/top-down-splay.c
 
5
 * http://bobo.link.cs.cmu.edu/cgi-bin/splay/splay-cgi.pl
 
6
 */
 
7
 
 
8
#include "config.h"
 
9
 
 
10
#if HAVE_STDIO_H
 
11
#include <stdio.h>
 
12
#endif
 
13
#if HAVE_STDLIB_H
 
14
#include <stdlib.h>
 
15
#endif
 
16
#if HAVE_UNISTD_H
 
17
#include <unistd.h>
 
18
#endif
 
19
 
 
20
#include "splay.h"
 
21
#include "util.h"
 
22
 
 
23
int splayLastResult = 0;