Module Name: src Committed By: riastradh Date: Wed Feb 8 13:31:36 UTC 2017
Modified Files: src/lib/libc: README Log Message: Omit duplicate text. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/README diff -u src/lib/libc/README:1.6 src/lib/libc/README:1.7 --- src/lib/libc/README:1.6 Thu Jan 12 00:38:25 2017 +++ src/lib/libc/README Wed Feb 8 13:31:36 2017 @@ -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 co 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)