HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Release coccinelle-0.2.3rc1
[bpt/coccinelle.git]
/
demos
/
ioctl_multiple_rules.c
Commit
Line
Data
34e49164
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
}