Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Fix comment documenting __link_set_decl() macro.
details: https://anonhg.NetBSD.org/src/rev/fbbde99023a4
branches: trunk
changeset: 784471:fbbde99023a4
user: gdt <gdt%NetBSD.org@localhost>
date: Tue Jan 29 01:23:12 2013 +0000
description:
Fix comment documenting __link_set_decl() macro.
The `__link_set_decl()` macro's replacement text includes a `*` after
`ptype`, so `ptype` is the pointed-at type (the type of a dereferenced
array entry), not the pointer type.
(This is a comment-only change.)
(From Richard Hansen of BBN.)
diffstat:
sys/sys/cdefs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 80cf88e559f1 -r fbbde99023a4 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h Tue Jan 29 01:06:15 2013 +0000
+++ b/sys/sys/cdefs.h Tue Jan 29 01:23:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs.h,v 1.104 2013/01/02 17:02:13 matt Exp $ */
+/* $NetBSD: cdefs.h,v 1.105 2013/01/29 01:23:12 gdt Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -468,7 +468,7 @@
*
* __link_set_decl(set, ptype)
* Provide an extern declaration of the set `set', which
- * contains an array of the pointer type `ptype'. This
+ * contains an array of pointers to type `ptype'. This
* macro must be used by any code which wishes to reference
* the elements of a link set.
*
Home |
Main Index |
Thread Index |
Old Index