Module Name: src
Committed By: gdt
Date: Tue Jan 29 01:23:13 UTC 2013
Modified Files:
src/sys/sys: cdefs.h
Log Message:
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.)
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/sys/cdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/cdefs.h
diff -u src/sys/sys/cdefs.h:1.104 src/sys/sys/cdefs.h:1.105
--- src/sys/sys/cdefs.h:1.104 Wed Jan 2 17:02:13 2013
+++ src/sys/sys/cdefs.h Tue Jan 29 01:23:12 2013
@@ -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.
*