summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
AgeCommit message (Expand)AuthorFilesLines
2019-10-02basic: fix ASSERT_SIDE_EFFECT Coverity report in assert_se()Frantisek Sumsal1-7/+8
2019-07-17Rewrite IN_SET()Zbigniew Jędrzejewski-Szmek1-1/+2
2019-07-17Drop trailing slash from assert_cc() definitionZbigniew Jędrzejewski-Szmek1-2/+2
2019-07-17basic/macro: drop do {} while(0) from assert_not_reachedZbigniew Jędrzejewski-Szmek1-3/+1
2019-07-04tree-wide: use PROJECT_FILE instead of __FILE__Zbigniew Jędrzejewski-Szmek1-3/+3
2019-05-07shared/utmp-wtmp: silence gcc warning about strncpy truncationZbigniew Jędrzejewski-Szmek1-0/+9
2018-12-06macro: include errno.hYu Watanabe1-0/+1
2018-12-03Merge pull request #11031 from poettering/gcc-attr-cleanupLennart Poettering1-13/+40
2018-12-03macro: add macro for llvm no_sanitize_address attributeLennart Poettering1-0/+10
2018-12-03macro: define HAS_FEATURE_ADDRESS_SANITIZER also on gccLennart Poettering1-1/+3
2018-12-03util-lib: introduce HAS_FEATURE_ADDRESS_SANITIZEREvgeny Vereshchagin1-0/+11
2018-12-03tree-wide: drop redundant space between __attribute__ and ((Lennart Poettering1-13/+13
2018-12-03macro: add macros for a couple of more gcc attributes we useLennart Poettering1-0/+4
2018-12-02macro: introduce DEFINE_TRIVIAL_DESTRUCTOR() macroYu Watanabe1-0/+5
2018-11-30macro: update DIV_ROUND_UP() so that it can be called nestedLennart Poettering1-4/+5
2018-11-22libudev: introduce return_with_errno() and use it where applicableYu Watanabe1-0/+6
2018-11-20tree-wide: use __ prefixed gcc attributes (#10843)Lennart Poettering1-18/+18
2018-11-19util-lib: move main() definition macros to its own header fileLennart Poettering1-19/+0
2018-11-19Merge pull request #10811 from keszybz/define-main-through-macroLennart Poettering1-0/+19
2018-11-17ac-power: define main through macroZbigniew Jędrzejewski-Szmek1-0/+10
2018-11-17Introduce main definer and use it in cgtopZbigniew Jędrzejewski-Szmek1-0/+9
2018-11-17macro: remove double evaluation in FLAGS_SET()Lennart Poettering1-1/+1
2018-10-25Merge pull request #10378 from poettering/json-fuzz-fixZbigniew Jędrzejewski-Szmek1-0/+1
2018-10-19tree-wide: replace 'unsigned int' with 'unsigned'Yu Watanabe1-1/+1
2018-10-18macro.h: include assert.h so that static_assert can be properly checked forLennart Poettering1-0/+1
2018-10-11macro: rework IN_SET a bitLennart Poettering1-2/+5
2018-10-11macro: drop -Wdeclaration-after-statement exclusion magic, we dropped that wa...Lennart Poettering1-13/+2
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