Poul-Henning Kamp
46aa3347cb
Convert all users of fldoff() to offsetof(). fldoff() is bad
...
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.
Define __offsetof() in <machine/ansi.h>
Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>
Remove myriad of local offsetof() definitions.
Remove includes of <stddef.h> in kernel code.
NB: Kernelcode should *never* include from /usr/include !
Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.
Deprecate <struct.h> with a warning. The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.
Paritials reviews by: various.
Significant brucifications by: bde
2000-10-27 11:45:49 +00:00
..
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-09-13 03:20:35 +00:00
1999-12-29 04:46:21 +00:00
2000-09-21 19:05:30 +00:00
2000-06-09 16:04:30 +00:00
2000-10-03 21:43:55 +00:00
2000-06-02 09:27:48 +00:00
2000-05-26 02:09:24 +00:00
2000-10-09 12:34:51 +00:00
1999-08-28 01:08:13 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 06:45:48 +00:00
2000-07-03 13:06:29 +00:00
2000-10-18 05:15:40 +00:00
2000-05-26 02:09:24 +00:00
2000-10-13 17:12:58 +00:00
2000-01-16 09:25:10 +00:00
2000-03-18 22:26:54 +00:00
1999-12-29 04:46:21 +00:00
2000-01-06 22:46:20 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-10-09 17:31:39 +00:00
2000-01-11 14:54:01 +00:00
2000-04-27 13:34:32 +00:00
2000-10-14 19:14:48 +00:00
1999-12-29 04:46:21 +00:00
2000-05-01 20:32:07 +00:00
2000-10-23 12:55:51 +00:00
2000-05-26 02:09:24 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-06-15 20:30:53 +00:00
2000-09-19 10:25:01 +00:00
2000-09-19 10:25:01 +00:00
2000-09-19 10:25:01 +00:00
2000-09-02 19:17:34 +00:00
2000-09-07 16:38:04 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-05-12 03:36:02 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-09-29 13:35:14 +00:00
1999-08-28 01:08:13 +00:00
2000-05-02 06:02:11 +00:00
2000-07-18 19:31:52 +00:00
2000-10-25 00:01:39 +00:00
2000-07-18 19:31:52 +00:00
1999-12-29 04:46:21 +00:00
2000-01-19 06:07:34 +00:00
2000-04-27 13:34:32 +00:00
2000-04-22 15:22:31 +00:00
1999-12-29 04:46:21 +00:00
2000-05-26 02:09:24 +00:00
2000-06-14 18:38:44 +00:00
1999-12-07 22:25:28 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-04-28 08:53:23 +00:00
2000-09-26 05:09:21 +00:00
1999-12-29 04:46:21 +00:00
2000-10-25 05:19:40 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-10-26 16:41:48 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-10-05 23:09:57 +00:00
2000-06-04 04:28:31 +00:00
1999-12-05 20:02:19 +00:00
2000-09-11 20:37:42 +00:00
2000-10-20 22:12:16 +00:00
2000-08-28 21:11:12 +00:00
2000-09-07 01:33:02 +00:00
2000-10-04 01:29:17 +00:00
2000-09-07 01:29:44 +00:00
2000-09-03 11:32:07 +00:00
2000-10-09 17:31:39 +00:00
2000-09-18 20:40:32 +00:00
2000-09-18 20:40:32 +00:00
2000-09-29 13:35:57 +00:00
2000-10-06 05:20:02 +00:00
2000-10-25 00:07:09 +00:00
2000-05-26 02:09:24 +00:00
2000-10-25 00:07:09 +00:00
2000-10-20 17:54:55 +00:00
2000-10-20 07:58:15 +00:00
1999-12-29 04:46:21 +00:00
1999-09-17 05:34:00 +00:00
1999-12-29 04:46:21 +00:00
2000-02-28 04:10:35 +00:00
2000-04-29 13:19:31 +00:00
2000-10-13 14:04:26 +00:00
2000-10-09 08:08:36 +00:00
2000-05-01 13:33:56 +00:00
2000-01-29 15:29:11 +00:00
2000-04-26 11:34:52 +00:00
2000-10-23 18:36:03 +00:00
2000-09-17 07:26:42 +00:00
1999-08-27 23:45:13 +00:00
2000-09-29 13:36:47 +00:00
1999-12-08 17:44:04 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-08-21 12:25:09 +00:00
1999-12-27 10:22:09 +00:00
2000-10-27 08:30:59 +00:00
1999-08-28 01:08:13 +00:00
2000-08-16 13:59:50 +00:00
1999-08-28 01:08:13 +00:00
2000-10-19 18:55:22 +00:00
2000-10-27 11:45:49 +00:00
2000-09-12 13:13:22 +00:00
1999-08-28 01:08:13 +00:00
2000-04-30 18:33:43 +00:00
2000-09-05 22:11:13 +00:00
2000-10-17 23:45:28 +00:00
2000-09-07 01:33:02 +00:00
2000-08-07 03:54:25 +00:00
2000-08-07 03:54:25 +00:00
2000-05-01 13:33:56 +00:00
2000-01-20 07:55:42 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-09-17 15:23:10 +00:00
2000-09-23 12:18:06 +00:00
1999-12-29 04:46:21 +00:00
2000-09-22 14:43:08 +00:00
2000-09-06 18:49:13 +00:00
2000-07-04 16:35:15 +00:00
2000-09-01 17:38:32 +00:00
2000-07-04 04:58:34 +00:00
2000-08-28 07:56:38 +00:00
2000-08-28 07:56:38 +00:00
2000-08-28 07:56:38 +00:00
2000-07-15 10:26:04 +00:00
2000-04-26 20:58:40 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-08-28 07:56:38 +00:00
2000-10-25 05:19:40 +00:00
2000-06-09 22:32:36 +00:00
1999-12-29 04:46:21 +00:00
2000-03-20 14:09:06 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
1999-08-28 01:08:13 +00:00
1999-12-29 04:46:21 +00:00
2000-03-20 14:09:06 +00:00
2000-09-04 08:19:32 +00:00
1999-08-28 01:08:13 +00:00
2000-05-26 02:09:24 +00:00
1999-08-28 01:08:13 +00:00
2000-01-29 16:47:35 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-10-27 11:45:49 +00:00
1999-10-11 20:33:17 +00:00
2000-10-26 15:49:35 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
2000-09-07 01:33:02 +00:00
2000-05-26 02:09:24 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
1999-12-29 04:46:21 +00:00
1999-09-17 05:34:00 +00:00
2000-10-20 07:58:15 +00:00
1999-12-29 04:46:21 +00:00
1999-08-28 01:08:13 +00:00