Ondřej Surý
fbd5f614d7
Enforce type checking for dns_dbnode_t
...
Originally, the dns_dbnode_t was typedef'ed to void type. This allowed
some flexibility, but using (void *) just removes any type-checking that
C might have. Instead of using:
typedef void dns_dbnode_t;
use a trick to define the type to non-existing structure:
typedef struct dns_dbnode dns_dbnode_t;
This allows the C compilers to employ the type-checking while the
structure itself doesn't have to be ever defined because the actual
'storage' is never accessed using dns_dbnode_t type.
2024-11-06 17:08:04 +01:00
..
2024-11-06 17:08:04 +01:00
2024-10-23 21:29:32 +00:00
2023-08-21 18:39:53 +02:00
2024-09-10 09:54:20 +00:00
2024-10-01 00:19:13 +00:00
2023-07-31 15:51:15 +02:00
2023-02-16 18:35:32 +01:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2024-08-21 16:23:09 +02:00
2024-08-07 13:03:08 -07:00
2023-02-07 23:48:22 -08:00
2024-10-18 19:31:27 +00:00
2024-08-05 15:36:54 +02:00
2024-08-20 12:50:39 +00:00
2023-02-28 11:44:15 +01:00
2024-08-20 12:50:39 +00:00
2024-10-24 11:41:18 +11:00
2024-08-20 12:50:39 +00:00
2023-09-13 14:31:43 +10:00
2024-08-22 08:21:52 +02:00
2024-08-20 12:50:39 +00:00
2024-04-26 16:08:46 +03:00
2022-03-25 08:33:43 +01:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2023-03-08 08:36:25 +01:00
2024-08-20 12:50:39 +00:00
2023-02-15 16:44:47 +00:00
2022-01-11 09:05:02 +01:00
2024-03-14 10:25:07 -07:00
2024-02-08 08:01:58 +01:00
2024-08-20 12:50:39 +00:00
2024-08-07 17:03:27 +02:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2024-08-20 12:50:39 +00:00
2024-10-18 19:31:27 +00:00
2024-01-25 14:47:43 +01:00
2022-01-11 09:05:02 +01:00
2024-11-01 15:50:16 +01:00
2024-10-18 19:31:27 +00:00
2024-03-14 10:25:07 -07:00
2024-09-18 17:39:14 +02:00
2024-05-07 10:01:12 +10:00
2024-08-20 12:50:39 +00:00
2024-10-29 20:05:27 +00:00
2024-10-23 21:29:32 +00:00
2024-04-30 12:50:01 -07:00
2024-04-17 17:14:34 +02:00
2024-08-05 13:31:38 +00:00
2023-03-08 08:36:25 +01:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00
2024-08-08 11:59:41 +02:00
2024-10-18 19:31:27 +00:00
2024-10-18 19:31:27 +00:00
2024-10-16 14:03:14 +03:00
2022-11-29 08:54:34 +01:00
2024-08-22 13:42:27 +00:00
2023-10-17 17:47:46 +02:00
2023-12-20 17:21:14 +01:00
2023-09-28 00:32:39 -07:00
2024-08-20 12:50:39 +00:00
2024-03-08 15:36:56 -08:00
2024-11-06 17:08:04 +01:00
2024-03-06 20:57:31 -08:00
2024-11-06 17:08:04 +01:00
2024-11-06 17:08:04 +01:00
2024-11-06 17:08:04 +01:00
2024-08-20 12:50:39 +00:00
2024-08-05 15:36:54 +02:00
2024-11-06 17:08:04 +01:00
2024-09-10 17:31:32 +02:00
2024-08-01 10:20:55 +10:00
2023-07-17 14:50:25 +02:00
2023-08-31 22:08:35 +02:00
2023-02-28 11:44:15 +01:00
2024-08-22 09:21:55 +02:00
2023-08-31 22:08:35 +02:00
2024-10-24 11:41:18 +11:00
2024-02-13 09:21:49 +11:00
2024-10-24 11:41:18 +11:00
2023-06-15 15:32:04 +02:00
2024-08-20 12:50:39 +00:00
2024-09-18 17:39:14 +02:00
2023-08-15 12:21:41 +02:00
2024-08-20 12:50:39 +00:00
2024-11-06 17:08:04 +01:00
2024-08-22 08:21:52 +02:00
2022-03-25 08:33:43 +01:00
2024-08-20 12:50:39 +00:00
2024-10-23 08:35:08 +11:00
2024-08-20 12:50:39 +00:00
2022-05-28 14:53:02 -07:00
2023-03-31 13:33:16 +02:00
2024-08-20 12:50:39 +00:00
2024-10-18 19:31:27 +00:00
2023-06-14 08:14:38 +00:00
2024-08-20 12:50:39 +00:00
2023-02-15 16:44:47 +00:00
2024-08-22 08:21:52 +02:00
2024-09-18 18:02:41 +02:00
2024-10-23 21:29:32 +00:00
2024-11-04 17:53:16 +00:00
2024-01-25 14:48:07 +01:00
2024-10-24 12:55:01 +11:00
2022-11-29 08:54:34 +01:00
2024-08-20 12:50:39 +00:00
2024-08-20 12:50:39 +00:00