Commit graph

3 commits

Author SHA1 Message Date
Mark Andrews
feb2222ff6 Exclude lib/dns/include/dns/db.h from unsigned-int.spatch
Disable unsigned-int spatch in db.h to silence the following error
from coccinelle v1.1:

    EXN: Failure("./lib/dns/include/dns/db.h: 188: try to delete an expanded token: unsigned") in ./lib/dns/include/dns/db.h

(cherry picked from commit d89a535040)
2025-10-08 17:28:03 +11:00
Michal Nowak
885b095a15 Disable unsigned-int spatch in models.c and sdlz.c
coccinelle v1.1 reports the following failure:

    EXN: Failure("./lib/dns/sdlz.c: 172: try to delete an expanded token: unsigned") in ./lib/dns/sdlz.c

coccinelle v1.2 reports the following failure:

    EXN: Failure("./util/models.c: 21: try to delete an expanded token: unsigned") in ./util/models.c

(cherry picked from commit 7fb6be62e0)
2024-12-13 13:50:06 +00:00
Ondřej Surý
7e74e441a5
Add semantic patch to use 'unsigned int' instead of 'unsigned'
Add a very simple patch to enforce usage of 'unsigned int' instead of
just 'unsigned' for the consistency through the whole source code.
2022-09-19 15:52:08 +02:00