Daan De Meyer
69a283c5f2
shared: Clean up includes
...
Split out of #37344 .
2025-05-24 14:00:44 +02:00
Daan De Meyer
3b58245624
basic: Override glibc's sys/param.h header with an empty file
...
Instead of unconditionally including sys/param.h in
macro-fundamental.h which itself includes a bunch of other unnecessary
headers, let's override it with an empty file to avoid it from overriding
our MAX() macro. We can't make including it an error as it's included (
for seemingly no good reason) by <resolv.h>.
2025-05-09 11:23:14 +02:00
Yu Watanabe
6952ebae3b
tree-wide: drop several remaining license headers
...
And downgrade the license of utf8.c to LGPL-2.0-or-later, to follow the
original license.
2024-04-08 10:14:50 +02:00
Lennart Poettering
cca2da15c8
three spdx header fixes
2020-12-10 13:03:11 +01:00
Zbigniew Jędrzejewski-Szmek
448e7440c2
headers: add spdx tags to imported files with a known license
...
I added the header in the cases where the license text is present and it is
easy to find the appropriate SPDX header.
For "public domain" stuff: SDPX treats each "public domain" license as unique [1],
but luckily the one in siphash24.c is one of the identified variants. There are
some other cases which specify "public domain" but there doesn't seem to be a
SPDX identifier.
[1] https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files
gunicode.[ch] are imported from glib, which is licensed as LGPL2.1+,
see https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/gunicode.h .
2020-10-29 11:32:24 +01:00
Yu Watanabe
7a3c343cb8
tree-wide: use '#pragma once' for header guard
...
Follow-up for a2b635eb39 (#9959 ).
2018-08-30 06:10:43 +03:00
Yu Watanabe
f330408d62
tree-wide: drop empty lines in comments
2018-07-23 08:44:24 +02:00
Lennart Poettering
56b00d0028
tree-wide: remove some double newlines in headers, too
2018-05-22 16:13:45 +02:00
Lennart Poettering
baabc57764
build-sys: move more files from core/ to share/ that are generic enough
2013-11-22 16:31:40 +01:00