summaryrefslogtreecommitdiff
path: root/coccinelle/exit-0.cocci
blob: 8b81600579a661bdcb6aa0d036827f3c5a0616ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@@
@@
- exit(0);
+ exit(EXIT_SUCCESS);
@@
@@
- _exit(0);
+ _exit(EXIT_SUCCESS);
@@
@@
- exit(1);
+ exit(EXIT_FAILURE);
@@
@@
- _exit(1);
+ _exit(EXIT_FAILURE);