repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000420-1.c
blob
552f02e423cc6b1b82e946b26dd039d500df309b
1
struct
z_candidate
{
struct
z_candidate
*
next
;
int
viable
;};
2
int
pedantic
;
3
4
static struct
z_candidate
*
5
splice_viable
(
cands
)
6
struct
z_candidate
*
cands
;
7
{
8
struct
z_candidate
**
p
= &
cands
;
9
10
for
(; *
p
; )
11
{
12
if
(
pedantic
? (*
p
)->
viable
==
1
: (*
p
)->
viable
)
13
p
= &((*
p
)->
next
);
14
else
15
*
p
= (*
p
)->
next
;
16
}
17
18
return
cands
;
19
}