pike.git / src / cyclic.c

version» Context lines:

pike.git/src/cyclic.c:1:   #include "global.h"   #include "cyclic.h"    - RCSID("$Id: cyclic.c,v 1.5 2000/08/10 08:54:34 grubba Exp $"); + RCSID("$Id: cyclic.c,v 1.6 2002/08/15 14:49:20 marcus Exp $");      #define CYCLIC_HASH_SIZE 4711      CYCLIC *cyclic_hash[CYCLIC_HASH_SIZE];      static void low_unlink_cyclic(CYCLIC *c)   {    size_t h;    CYCLIC **p;    h=(ptrdiff_t)c->id;
pike.git/src/cyclic.c:22:    h%=CYCLIC_HASH_SIZE;       for(p=cyclic_hash+h;*p;p=&(p[0]->next))    {    if(c == *p)    {    *p=c->next;    return;    }    } -  fatal("Unlink cyclic on lost cyclic struct.\n"); +  Pike_fatal("Unlink cyclic on lost cyclic struct.\n");   }      void unlink_cyclic(CYCLIC *c)   {    UNSET_ONERROR(c->onerr);    low_unlink_cyclic(c);   }      void *begin_cyclic(CYCLIC *c,    void *id,