git: <sys/cdefs.h>: Add __containerof(x, s, m) macro

Aaron LI aly at crater.dragonflybsd.org
Thu Dec 21 00:54:13 PST 2023


commit ab51b05b3926f3228954ae90988bd1ceb8932f39
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Nov 29 15:39:38 2023 +0800

    <sys/cdefs.h>: Add __containerof(x, s, m) macro
    
    Obtained from FreeBSD.

Summary of changes:
 sys/sys/cdefs.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab51b05b3926f3228954ae90988bd1ceb8932f39


-- 
DragonFly BSD source repository


More information about the Commits mailing list