mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 12:18:12 +00:00
tools: Add Coccinelle script to replace __FUNCTION__ to __func__
Same is for __PRETTY_FUNCTION__ Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
b80e593220
commit
38e385615a
10
scripts/coccinelle/__func__.cocci
Normal file
10
scripts/coccinelle/__func__.cocci
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@@
|
||||||
|
@@
|
||||||
|
|
||||||
|
(
|
||||||
|
- __PRETTY_FUNCTION__
|
||||||
|
+ __func__
|
||||||
|
|
|
||||||
|
- __FUNCTION__
|
||||||
|
+ __func__
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user