|
|
Subscribe / Log in / New account

Moving the kernel to modern C

Moving the kernel to modern C

Posted Feb 25, 2022 7:08 UTC (Fri) by josh (subscriber, #17465)
In reply to: Moving the kernel to modern C by NYKevin
Parent article: Moving the kernel to modern C

I don't think you could with Linux's list macros. You could with Sparse's, which have pairs of macros invoked at the start and end of each loop (and which use two levels of braces).

But C99 makes this easy.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds