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:
parent
0d5858f265
commit
c2b6013026
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104294
@ -79,6 +79,9 @@ struct pcb {
|
||||
* core dumps. For the i386: ???
|
||||
*/
|
||||
struct md_coredump {
|
||||
#ifdef lint
|
||||
int dummy;
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@ -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 {
|
||||
|
@ -79,6 +79,9 @@ struct pcb {
|
||||
* core dumps. For the i386: ???
|
||||
*/
|
||||
struct md_coredump {
|
||||
#ifdef lint
|
||||
int dummy;
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user