summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-01 14:08:08 +0000
committerphk <phk@FreeBSD.org>2002-10-01 14:08:08 +0000
commit43df880dc16d5c92f4b9cb807a82049f97021978 (patch)
treea34985f9dc2bb70925d55704f6250b11018650f8
parent294ee07593f2f227e764c6cc8004bda4e74e791a (diff)
downloadFreeBSD-src-43df880dc16d5c92f4b9cb807a82049f97021978.zip
FreeBSD-src-43df880dc16d5c92f4b9cb807a82049f97021978.tar.gz
It is too much work convincing lint why we would want empty structures,
so make the non-empty #ifdef lint.
-rw-r--r--sys/amd64/include/pcb.h3
-rw-r--r--sys/amd64/include/proc.h3
-rw-r--r--sys/i386/include/pcb.h3
-rw-r--r--sys/i386/include/proc.h3
4 files changed, 12 insertions, 0 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 50cff07..fd06e7c 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -79,6 +79,9 @@ struct pcb {
* core dumps. For the i386: ???
*/
struct md_coredump {
+#ifdef lint
+ int dummy;
+#endif
};
#ifdef _KERNEL
diff --git a/sys/amd64/include/proc.h b/sys/amd64/include/proc.h
index f011b5c..e3711b0 100644
--- a/sys/amd64/include/proc.h
+++ b/sys/amd64/include/proc.h
@@ -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 {
diff --git a/sys/i386/include/pcb.h b/sys/i386/include/pcb.h
index 50cff07..fd06e7c 100644
--- a/sys/i386/include/pcb.h
+++ b/sys/i386/include/pcb.h
@@ -79,6 +79,9 @@ struct pcb {
* core dumps. For the i386: ???
*/
struct md_coredump {
+#ifdef lint
+ int dummy;
+#endif
};
#ifdef _KERNEL
diff --git a/sys/i386/include/proc.h b/sys/i386/include/proc.h
index f011b5c..e3711b0 100644
--- a/sys/i386/include/proc.h
+++ b/sys/i386/include/proc.h
@@ -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 {
OpenPOWER on IntegriCloud