OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040303-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef struct input {
2
        struct input *next;
3
} input_t;
4
static input_t *inputs = (input_t *)((void *)0);
5
void
6
RemoveInput(unsigned long id)
7
{
8
 input_t *ip;
9
 input_t *prev;
10
 while (1)
11
  if (ip == (input_t *)id)
12
   break;
13
 if (ip == (input_t *)((void *)0))
14
  return;
15
  prev->next = ip->next;
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.