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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr41006-1.c
blob
8aef66dbdfeb8c700c0a32a0d5f85340485fda30
1
typedef
int
(*
FARPROC
)();
2
3
typedef
int
(*
LPFN_ACCEPTEX
)(
void
*);
4
static
LPFN_ACCEPTEX acceptex_fn
;
5
6
int
xWSAIoctl
(
void
*);
7
static void
get_fn
(
FARPROC
*
fn
)
8
{
9
FARPROC func
;
10
if
(!
xWSAIoctl
( &
func
))
11
*
fn
=
func
;
12
}
13
14
void
get_fn_pointers
()
15
{
16
get_fn
((
FARPROC
*)&
acceptex_fn
);
17
}