diff options
| author | Dennis Camera <skonfig@dtnr.ch> | 2022-08-25 22:23:50 +0200 |
|---|---|---|
| committer | Dennis Camera <skonfig@dtnr.ch> | 2022-08-25 22:23:50 +0200 |
| commit | 12f170a3891f5c4c850262730f525919d3a62bdf (patch) | |
| tree | bf09e2c1b51bf676e9e3c7ab41786129ecb2a9e4 /src/util/string.c | |
| parent | a0c93a83de4f7a40d7d09607f4cc15cef34b77d0 (diff) | |
| download | skonfig-c-12f170a3891f5c4c850262730f525919d3a62bdf.tar.gz skonfig-c-12f170a3891f5c4c850262730f525919d3a62bdf.zip | |
Stilistic changes
Diffstat (limited to 'src/util/string.c')
| -rw-r--r-- | src/util/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/string.c b/src/util/string.c index b17823e..94e1cc1 100644 --- a/src/util/string.c +++ b/src/util/string.c @@ -105,12 +105,12 @@ size_t _strjoin_r( return len; } -/** NOTE: the _ argument is added to "hack" around undefined behaviour if the +/** NOTE: the _ argument is added to "hack" around undefined behaviour if the * last non-variadic argument undergoes argument promotion. * This results in a compile error on (at least) clang: * - * src/util/string.c:130:16: error: passing an object that undergoes default - * argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs] + * src/util/string.c:130:16: error: passing an object that undergoes default + * argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs] */ char *_strjoin(char sep, void *_, /* const char *restrict */...) { va_list ap; |
