Omit duplicate text.
This commit is contained in:
parent
d51e3abf8d
commit
adfa6ca875
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: README,v 1.6 2017/01/12 00:38:25 riastradh Exp $
|
||||
$NetBSD: README,v 1.7 2017/02/08 13:31:36 riastradh Exp $
|
||||
|
||||
libc: The C library.
|
||||
|
||||
|
@ -209,13 +209,8 @@ compiled with the old signature, will continue to use the old symbol.
|
|||
The source file src/lib/libc/compat/gen/compat_time.c includes
|
||||
"namespace.h", <compat/include/time.h>, and <time.h>, but suppresses
|
||||
the normal declaration of `time' in <time.h> by defining
|
||||
__LIBC12_SOURCE__. Instead, <compat/include/time.h>
|
||||
(src/lib/libc/compat/include/time.h) declares `time' with the
|
||||
effective old signature:
|
||||
|
||||
int32_t time(int32_t *);
|
||||
|
||||
Then compat_time.c defines `time' normally:
|
||||
__LIBC12_SOURCE__ and thus gets it from <compat/include/time.h>
|
||||
instead. Then compat_time.c defines `time' normally:
|
||||
|
||||
int32_t
|
||||
time(int32_t *t)
|
||||
|
|
Loading…
Reference in New Issue