summaryrefslogtreecommitdiffstats
path: root/src/basic/macro.h (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Add string_contains_word_strv()Zbigniew Jędrzejewski-Szmek2020-09-041-0/+3
* macro: add new FOREACH_POINTER() macro magicLennart Poettering2020-07-011-0/+6
* macro: add CONST_MIN() similar to CONST_MAX()Lennart Poettering2020-06-251-0/+9
* macro.h: add sizeof_field() helperMarc-André Lureau2020-06-041-0/+2
* json: turn off ubsan for json_variant_has_type()Lennart Poettering2020-05-261-0/+8
* macro: introduce DISABLE_WARNING_TYPE_LIMITS and make use of it everywhereLennart Poettering2020-05-251-0/+4
* json: use our regular way to turn off compiler warningsLennart Poettering2020-05-251-0/+4
* macro: add READ_NOW() macro for force reading of memory, making a copyLennart Poettering2020-04-231-0/+13
* Add yet another tiny helper to manipulate flagsZbigniew Jędrzejewski-Szmek2020-04-101-1/+3
* macro: introduce new GREEDY_ALLOC_ROUND_UP() helperLennart Poettering2019-12-091-0/+23
* macro: avoid subtraction overflow in ALIGN_POWER2()Lennart Poettering2019-12-091-0/+5
* basic: fix ASSERT_SIDE_EFFECT Coverity report in assert_se()Frantisek Sumsal2019-10-021-7/+8
* Rewrite IN_SET()Zbigniew Jędrzejewski-Szmek2019-07-171-1/+2
* Drop trailing slash from assert_cc() definitionZbigniew Jędrzejewski-Szmek2019-07-171-2/+2
* basic/macro: drop do {} while(0) from assert_not_reachedZbigniew Jędrzejewski-Szmek2019-07-171-3/+1
* tree-wide: use PROJECT_FILE instead of __FILE__Zbigniew Jędrzejewski-Szmek2019-07-041-3/+3
* shared/utmp-wtmp: silence gcc warning about strncpy truncationZbigniew Jędrzejewski-Szmek2019-05-071-0/+9
* macro: include errno.hYu Watanabe2018-12-061-0/+1
* Merge pull request #11031 from poettering/gcc-attr-cleanupLennart Poettering2018-12-031-13/+40
|\
| * macro: add macro for llvm no_sanitize_address attributeLennart Poettering2018-12-031-0/+10
| * macro: define HAS_FEATURE_ADDRESS_SANITIZER also on gccLennart Poettering2018-12-031-1/+3
| * util-lib: introduce HAS_FEATURE_ADDRESS_SANITIZEREvgeny Vereshchagin2018-12-031-0/+11
| * tree-wide: drop redundant space between __attribute__ and ((Lennart Poettering2018-12-031-13/+13
| * macro: add macros for a couple of more gcc attributes we useLennart Poettering2018-12-031-0/+4
* | macro: introduce DEFINE_TRIVIAL_DESTRUCTOR() macroYu Watanabe2018-12-021-0/+5
|/
* macro: update DIV_ROUND_UP() so that it can be called nestedLennart Poettering2018-11-301-4/+5
* libudev: introduce return_with_errno() and use it where applicableYu Watanabe2018-11-221-0/+6
* tree-wide: use __ prefixed gcc attributes (#10843)Lennart Poettering2018-11-201-18/+18
* util-lib: move main() definition macros to its own header fileLennart Poettering2018-11-191-19/+0
* Merge pull request #10811 from keszybz/define-main-through-macroLennart Poettering2018-11-191-0/+19
|\
| * ac-power: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-0/+10
| * Introduce main definer and use it in cgtopZbigniew Jędrzejewski-Szmek2018-11-171-0/+9
* | macro: remove double evaluation in FLAGS_SET()Lennart Poettering2018-11-171-1/+1
|/
* Merge pull request #10378 from poettering/json-fuzz-fixZbigniew Jędrzejewski-Szmek2018-10-251-0/+1
|\
| * macro.h: include assert.h so that static_assert can be properly checked forLennart Poettering2018-10-181-0/+1
* | tree-wide: replace 'unsigned int' with 'unsigned'Yu Watanabe2018-10-191-1/+1
|/
* macro: rework IN_SET a bitLennart Poettering2018-10-111-2/+5
* macro: drop -Wdeclaration-after-statement exclusion magic, we dropped that wa...Lennart Poettering2018-10-111-13/+2
* macro: introduce DEFINE_TRIVIAL_REF_UNREF_FUNC() macro and friendsYu Watanabe2018-08-271-0/+49
* macros: add CMP(a, b) macro.Filipe Brandenburger2018-08-071-0/+9
* macro: drop __extension__, reformat and reindentFilipe Brandenburger2018-08-071-35/+35
* coverity: Add custom assertion macros for CoverityFilipe Brandenburger2018-07-191-4/+36
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-4/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek2018-06-041-0/+2
* macro: don't rely on C's downgrade-to-bool feature for numeric comparisonsLennart Poettering2018-04-121-1/+1
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* fuzz-unit-file: add __has_feature(memory_sanitizer) when skipping ListenNetlink=Zbigniew Jędrzejewski-Szmek2018-03-261-0/+11
* basic/macros: rename noreturn into _noreturn_ (#8456)Franck Bui2018-03-151-10/+9
* core: drop unnecessary __useless_struct_to_allow_trailing_semicolon__Zbigniew Jędrzejewski-Szmek2018-03-061-2/+1