summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: Use __func__ in assertsJan Janssen2023-01-181-3/+3
* macro: check existence of cleanup function before call itYu Watanabe2022-12-221-2/+10
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-24/+1
* json: use fpclassify() or its helper functionsYu Watanabe2022-07-211-4/+0
* Use https for gnu.orgMichael Biebl2022-06-281-1/+1
* macro: make ALIGN4() and ALIGN8() also return SIZE_MAX on overflowYu Watanabe2022-06-011-19/+0
* macro: Move attribute defintions to macro-fundamentalJan Janssen2022-05-281-18/+0
* Add saturate_add() that generalizes size_add()Zbigniew Jędrzejewski-Szmek2022-05-121-1/+8
* macro: upgrade ref counting overflow check assert() → assert_se()Lennart Poettering2022-04-211-1/+1
* macro: check over flow in reference counterYu Watanabe2022-04-191-2/+6
* meson: explicitly include coverage tweaks when built w/ --coverageFrantisek Sumsal2022-04-091-13/+0
* macro: call __gcov_dump() before _exit() w/ coverage enabledFrantisek Sumsal2022-04-071-0/+13
* macro: add macro that simplifies going backwards through an array via pointersLennart Poettering2022-03-231-0/+16
* macro: handle DECIMAL_STR_MAX() special cases more accuratelyLennart Poettering2022-03-141-6/+5
* macro: DECIMAL_STR_WIDTH() is about *values* not *types*Lennart Poettering2022-03-141-3/+13
* macro: account for negative values in DECIMAL_STR_WIDTH()Frantisek Sumsal2022-03-131-7/+7
* sd-boot: Move flags helpers to macro-fundamental.hJan Janssen2021-11-041-7/+0
* macro: Move ALIGN_TO to macro-fundamental.h and introduce CONST_ALIGN_TOJan Janssen2021-10-171-18/+0
* macro: also use trailing __ for alignof use in attributesLennart Poettering2021-10-111-1/+1
* macro: fix ALIGN_TO() to use ULLONG_MAX instead of ULONGLONG_MAXThomas Haller2021-10-111-1/+1
* macro: handle overflow in ALIGN_TO() somewhat reasonablyLennart Poettering2021-08-201-0/+14
* sd-boot: Fix PE section parsingJan Janssen2021-08-161-1/+0
* Merge pull request #20233 from maanyagoenka/log-errorLennart Poettering2021-08-131-0/+6
|\
| * systemd-analyze: option to exit with an error when 'verify' failsMaanya Goenka2021-08-121-0/+6
* | macro: Move some macros to macro-fundamental.hJan Janssen2021-08-111-23/+0
|/
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-2/+2
* macro: change DECIMAL_STR_WIDTH() return type to size_t, like strlen() and so onLennart Poettering2021-07-301-1/+1
* macro: sizeof() returns size_t, and that's goodLennart Poettering2021-07-301-2/+2
* basic/{time,format}-util: warn when format result is unusedZbigniew Jędrzejewski-Szmek2021-07-091-0/+1
* basic/macro: make CONST_MAX(DECIMAL_STR_MAX(…), STRLEN(…)) possibleZbigniew Jędrzejewski-Szmek2021-07-091-5/+5
* boot: add optional EFI SBAT supportDimitri John Ledkov2021-05-071-6/+0
* shared/conf-parser: allow more than one location of the main config fileZbigniew Jędrzejewski-Szmek2021-02-211-0/+1
* tree-wide: reset the cleaned-up variable in cleanup functionsZbigniew Jędrzejewski-Szmek2021-02-161-0/+10
* fundamental: move several macros and functions into src/fundamental/Yu Watanabe2021-02-091-179/+2
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Merge pull request #17324 from keszybz/resolvectl-compat-outputLennart Poettering2020-10-221-0/+4
|\
| * format-table: add TABLE_STRV_WRAPPEDZbigniew Jędrzejewski-Szmek2020-10-221-1/+3
| * resolvectl: break nta/domain/dns listings with newlinesZbigniew Jędrzejewski-Szmek2020-10-201-0/+2
* | macro: introduce POINTER_MAX as define for (void*) -1Lennart Poettering2020-10-221-4/+7
* | cgtop: Display cpu time in microseonds with --rawArian van Putten2020-10-211-0/+6
* | sd-dhcp-client: make sd_dhcp_client_set_request_option() not return -EEXISTYu Watanabe2020-10-141-0/+3
* | basic/selinux: work around mallinfo deprecationZbigniew Jędrzejewski-Szmek2020-10-121-0/+4
|/
* 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