HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release 1.0.0-rc3
[bpt/coccinelle.git]
/
demos
/
ioctl_multiple_rules.c
1
2
3
struct
file_operations fops
;
4
5
void
init
(
int
i
)
6
{
7
8
fops
.
ioctl
=
my_ioctl
;
9
}
10
11
12
13
void
my_ioctl
(
int
i
)
14
{
15
foo
(
1
);
16
}
17
18
19
20
void
not_ioctl
(
int
i
)
21
{
22
foo
(
1
);
23
}