Enrico Weigelt, metux IT consult
9461072ab4
include: list.h: allow zero-initialization of struct xorg_list
...
Up until now, xorg_list's always need to be explicitly initialized by
calling xorg_list_init(), otherwise next access attempt will segfault.
This is adding extra complexity and risk of subtle bugs.
Adding some extra NULL check are trivial and their cost is so tiny
that it's even hard to practically measure.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-06-12 17:21:48 +02:00
..
2020-07-05 13:07:33 -07:00
2024-03-12 15:18:17 +00:00
2024-10-10 13:45:29 +00:00
2014-11-12 10:25:00 +10:00
2025-06-12 17:21:46 +02:00
2025-06-12 17:21:43 +02:00
2024-09-02 16:43:29 +00:00
2015-06-30 12:17:51 +10:00
2023-12-22 05:02:05 +00:00
2025-06-12 17:21:43 +02:00
2012-03-21 13:54:42 -07:00
2024-03-03 22:42:41 +00:00
2024-09-01 17:45:13 +00:00
2024-10-10 13:45:29 +00:00
2021-05-30 13:26:31 +03:00
2023-10-25 00:37:47 +00:00
2025-06-12 16:25:48 +02:00
2014-11-12 10:25:00 +10:00
2025-06-12 17:21:45 +02:00
2017-06-20 16:37:24 -04:00
2023-11-29 21:18:29 +00:00
2024-04-15 23:10:31 +00:00
2025-06-12 16:52:25 +02:00
2025-02-07 12:00:58 +01:00
2018-02-14 17:04:48 -05:00
2020-07-05 13:07:33 -07:00
2025-02-06 16:24:01 +01:00
2024-09-01 17:59:23 +00:00
2025-06-12 17:21:46 +02:00
2021-05-30 13:26:42 +03:00
2025-06-12 17:21:48 +02:00
2025-06-12 17:21:46 +02:00
2025-06-12 17:21:44 +02:00
2014-11-12 10:25:00 +10:00
2024-04-30 00:47:38 +00:00
2024-06-23 21:19:27 +00:00
2012-03-21 13:54:42 -07:00
2025-06-12 17:21:46 +02:00
2022-12-30 01:32:25 +00:00
2025-06-12 16:47:01 +02:00
2025-06-12 17:21:43 +02:00
2023-02-25 09:40:41 -08:00
2024-09-02 17:50:47 +00:00
2014-11-12 10:25:00 +10:00
2025-02-06 23:29:10 +00:00
2024-03-09 18:01:52 +00:00
2014-11-12 10:25:00 +10:00
2025-06-12 16:49:49 +02:00
2025-06-12 17:21:48 +02:00
2014-11-12 10:25:00 +10:00
2024-09-01 20:38:01 +00:00
2025-06-12 17:21:45 +02:00
2015-05-07 14:03:50 -04:00
2025-06-12 17:21:42 +02:00
2025-06-12 16:16:45 +02:00
2012-03-21 13:54:42 -07:00
2016-03-01 11:25:59 -05:00
2025-06-12 17:21:48 +02:00
2025-06-12 16:53:13 +02:00
2025-06-12 17:21:47 +02:00
2025-06-12 17:21:45 +02:00
2024-04-09 06:50:20 +00:00
2025-06-12 16:52:31 +02:00
2025-06-12 17:21:46 +02:00
2025-06-12 16:54:13 +02:00
2012-10-30 15:11:10 +10:00
2023-02-25 09:40:41 -08:00
2024-03-18 15:41:17 +00:00
2025-06-12 17:21:46 +02:00