]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/macro.h
socket-util: move CMSG_FOREACH() from macro.h to socket-util.h
[thirdparty/systemd.git] / src / basic / macro.h
index c9bbe8df4bf36fdfadeb85b797ba1be643fcab4b..02f34cedadc2bb1248025b72c8f3b7ffeb79fc60 100644 (file)
@@ -427,7 +427,4 @@ do {                                                                    \
         }                                                       \
         struct __useless_struct_to_allow_trailing_semicolon__
 
-#define CMSG_FOREACH(cmsg, mh)                                          \
-        for ((cmsg) = CMSG_FIRSTHDR(mh); (cmsg); (cmsg) = CMSG_NXTHDR((mh), (cmsg)))
-
 #include "log.h"