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.)
This commit is contained in:
parent
2246e723d1
commit
0a1b2c9e1d
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user