summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-11-11 06:32:48 +0000
committerimp <imp@FreeBSD.org>2001-11-11 06:32:48 +0000
commit68b6d731ef23750a7e9a21239ddf86c0d1d8a0f1 (patch)
tree67fdf4cff900019c974b296d63fb4fe4e5cc383c /sys
parent0f25c9076625f460af5775f7c627452af5a1e8d4 (diff)
downloadFreeBSD-src-68b6d731ef23750a7e9a21239ddf86c0d1d8a0f1.zip
FreeBSD-src-68b6d731ef23750a7e9a21239ddf86c0d1d8a0f1.tar.gz
add note about why I used d_thread_t in the prototypes.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/conf.h3
-rw-r--r--sys/sys/linedisc.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 7b65416..46a1b76 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -129,7 +129,8 @@ struct knote;
* gives.
*
* Users of struct thread/struct proc that aren't device drivers should
- * not use d_thread_t.
+ * not use d_thread_t. It is used here only as a shorthand to prevent
+ * lines from wrapping.
*/
typedef struct thread d_thread_t;
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 7b65416..46a1b76 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -129,7 +129,8 @@ struct knote;
* gives.
*
* Users of struct thread/struct proc that aren't device drivers should
- * not use d_thread_t.
+ * not use d_thread_t. It is used here only as a shorthand to prevent
+ * lines from wrapping.
*/
typedef struct thread d_thread_t;
OpenPOWER on IntegriCloud