summaryrefslogtreecommitdiffstats
path: root/tools/coccinelle/README.md
blob: 262ccc1da05ea87de87a93f97c9d4dc42acf66f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Coccinelle patches
==================

This collection of coccinelle patches represents some of the broader,
codebase-wide changes that have been made. If you maintain a fork of
FRR and find that your codebase needs to be updated to align with
these changes, the coccinelle tool should help you make that update.

The coccinelle tool is documented at:
    https://coccinelle.gitlabpages.inria.fr/website/

To run a coccinelle patch script:

    spatch --sp-file tools/coccinelle/semicolon.cocci zebra/*.c