repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20040303-1.c
blob
6b2452adab9a183d8d4e12764a6aec77c493ae83
1
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
}