summaryrefslogtreecommitdiffstats
path: root/src/reply-password
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-04-26 18:36:01 +0200
committerKay Sievers <kay@vrfy.org>2012-04-29 19:14:05 +0200
commitc4326aa4af424ada8ab9e6fe77035db1cf222ffa (patch)
tree14f47bfbae8c0da4212ee22ad73f1bbeeee9e0bc /src/reply-password
parentlibudev: prefix log macros with 'udev_' (diff)
downloadsystemd-c4326aa4af424ada8ab9e6fe77035db1cf222ffa.tar.xz
systemd-c4326aa4af424ada8ab9e6fe77035db1cf222ffa.zip
util: introduce container_of() macro
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone.
Diffstat (limited to 'src/reply-password')
0 files changed, 0 insertions, 0 deletions