It is too much work convincing lint why we would want empty structures,

so make the non-empty #ifdef lint.
This commit is contained in:
Poul-Henning Kamp 2002-10-01 14:08:08 +00:00
parent 0d5858f265
commit c2b6013026
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104294
4 changed files with 12 additions and 0 deletions

View File

@ -79,6 +79,9 @@ struct pcb {
* core dumps. For the i386: ???
*/
struct md_coredump {
#ifdef lint
int dummy;
#endif
};
#ifdef _KERNEL

View File

@ -51,6 +51,9 @@ struct proc_ldt {
* Machine-dependent part of the proc structure for i386.
*/
struct mdthread {
#ifdef lint
int dummy;
#endif
};
struct mdproc {

View File

@ -79,6 +79,9 @@ struct pcb {
* core dumps. For the i386: ???
*/
struct md_coredump {
#ifdef lint
int dummy;
#endif
};
#ifdef _KERNEL

View File

@ -51,6 +51,9 @@ struct proc_ldt {
* Machine-dependent part of the proc structure for i386.
*/
struct mdthread {
#ifdef lint
int dummy;
#endif
};
struct mdproc {