Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <search.h>
  3.  
  4. void
  5. remque(struct qelem *e)
  6. {
  7.   if (!e)
  8.     return;
  9.   if (e->q_forw)
  10.     e->q_forw->q_back = e->q_back;
  11.   if (e->q_back)
  12.     e->q_back->q_forw = e->q_forw;
  13. }
  14.