summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
AgeCommit message (Expand)AuthorFilesLines
2018-08-27macro: introduce DEFINE_TRIVIAL_REF_UNREF_FUNC() macro and friendsYu Watanabe1-0/+49
2018-08-06macros: add CMP(a, b) macro.Filipe Brandenburger1-0/+9
2018-08-06macro: drop __extension__, reformat and reindentFilipe Brandenburger1-35/+35
2018-07-19coverity: Add custom assertion macros for CoverityFilipe Brandenburger1-4/+36
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-4/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
2018-06-04Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek1-0/+2
2018-04-12macro: don't rely on C's downgrade-to-bool feature for numeric comparisonsLennart Poettering1-1/+1
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-03-26fuzz-unit-file: add __has_feature(memory_sanitizer) when skipping ListenNetlink=Zbigniew Jędrzejewski-Szmek1-0/+11
2018-03-15basic/macros: rename noreturn into _noreturn_ (#8456)Franck Bui1-10/+9
2018-03-06core: drop unnecessary __useless_struct_to_allow_trailing_semicolon__Zbigniew Jędrzejewski-Szmek1-2/+1
2018-01-04coverity: don't use (void)0 under coverityZbigniew Jędrzejewski-Szmek1-2/+8
2017-12-13basic/macros: add STRLEN() to get length of string literal as constant expres...Thomas Haller1-0/+8
2017-11-24__attribute__((fallthrough)) only when -Wimplicit-fallthrough (#7448)Shawn Landden1-0/+4
2017-11-20tree-wide: adjust fall through comments so that gcc is happyShawn Landden1-0/+1
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-05-13tree-wide: drop assert.h includesZbigniew Jędrzejewski-Szmek1-1/+0
2016-06-10networkd: add support to configure VLAN on bridge portsTobias Jungel1-0/+9
2016-03-17Merge pull request #2848 from keszybz/clang-warningsDaniel Mack1-1/+5
2016-03-15basic/macros: clang 3.5 doesn't support alloc_sizeZbigniew Jędrzejewski-Szmek1-1/+5
2016-03-14include sys/sysmacros.h in more placesMike Frysinger1-0/+1
2016-02-29Merge pull request #2702 from poettering/resolved-iterate-fixZbigniew Jędrzejewski-Szmek1-0/+6
2016-02-23tree-wide: minor formatting inconsistency cleanupsVito Caputo1-1/+1
2016-02-22resolved: fix notification iteration logic when transactions are completedLennart Poettering1-0/+6
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2016-01-11macro.h: provide a switch-case statement generator for IN_SETDaniel Mack1-12/+41
2015-11-03util-lib: move CONF_DIRS_NULSTR definition to def.hLennart Poettering1-15/+0
2015-10-27util-lib: split out globbing related calls into glob-util.[ch]Lennart Poettering1-3/+0
2015-10-27stat-util.h: move F_TYPE_EQUAL() macro definition to stat-util.hLennart Poettering1-6/+0
2015-10-27util-lib: split out printf() helpers to stdio-util.hLennart Poettering1-45/+0
2015-10-27macro.h: move definition of MODE_INVALID to parse-util.hLennart Poettering1-2/+0
2015-10-27macro: move DECIMAL_STR_WIDTH() into macro.hLennart Poettering1-0/+9
2015-10-27socket-util: move CMSG_FOREACH() from macro.h to socket-util.hLennart Poettering1-3/+0
2015-10-27io-util.h: move iovec stuff from macro.h to io-util.hLennart Poettering1-39/+2
2015-10-27process-util: move PID related macros from macro.h to process-util.hLennart Poettering1-3/+0
2015-10-27user-util: move UID/GID related macros from macro.h to user-util.hLennart Poettering1-10/+0
2015-09-22util: drop UID_IS_INVALID() in favour of uid_is_valid()Lennart Poettering1-12/+0
2015-09-16basic: nicer assert messagesMichal Schmidt1-9/+11
2015-09-16basic: make sure argument of ELEMENTSOF is an arrayMichal Schmidt1-2/+5
2015-09-04macro: introduce new PID_TO_PTR macros and make use of themLennart Poettering1-0/+3
2015-07-23Merge pull request #537 from poettering/nss-mymachines-usernsDavid Herrmann1-0/+13
2015-07-22basic: more optimizable IN_SET macroMichal Schmidt1-1/+1
2015-07-22basic: better readable IN_SET macroMichal Schmidt1-4/+4
2015-07-09nss-mymachines: map userns users of containers to real user namesLennart Poettering1-0/+13
2015-06-17sd-event: make errors on EPOLL_CTL_DEL pseudo-fatalDavid Herrmann1-5/+6
2015-06-11build-sys: split internal basic/ library from shared/Kay Sievers1-0/+473