Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc Tweak wording.
details: https://anonhg.NetBSD.org/src/rev/cf0f8337eba3
branches: trunk
changeset: 336798:cf0f8337eba3
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Mar 20 14:10:40 2015 +0000
description:
Tweak wording.
diffstat:
lib/libc/README | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diffs (35 lines):
diff -r a23600567fb8 -r cf0f8337eba3 lib/libc/README
--- a/lib/libc/README Fri Mar 20 13:26:51 2015 +0000
+++ b/lib/libc/README Fri Mar 20 14:10:40 2015 +0000
@@ -1,4 +1,4 @@
- $NetBSD: README,v 1.2 2015/03/20 13:26:51 riastradh Exp $
+ $NetBSD: README,v 1.3 2015/03/20 14:10:40 riastradh Exp $
libc: The C library.
@@ -38,15 +38,17 @@
defines a weak symbol `consttime_memequal' aliasing a global symbol
`_consttime_memequal'.
- The name `consttime_memequal' is declared in <string.h>
- (src/include/string.h) if the caller defines _NETBSD_SOURCE.
+ The header file <string.h> (src/include/string.h) declares
+ `consttime_memequal' normally, if the caller defines _NETBSD_SOURCE.
- The name `consttime_memequal' is defined as a macro in "namespace.h"
- (src/lib/libc/include/namespace.h) expanding to
- `_consttime_memequal'. The source name `consttime_memequal' is
- defined in src/common/lib/libc/string/consttime_memequal.c, causing
- the ELF global symbol `_consttime_memequal' to be defined, after
- macro expansion.
+ The header file "namespace.h" (src/lib/libc/include/namespace.h)
+ defines `consttime_memequal' as a macro expanding to
+ `_consttime_memequal'.
+
+ The source file src/common/lib/libc/string/consttime_memequal.c
+ includes "namespace.h" and <string.h>, and defines
+ `consttime_memequal' normally, which, after macro expansion, causes
+ the ELF global symbol `_consttime_memequal' to be defined.
Alongside the definition is
Home |
Main Index |
Thread Index |
Old Index