Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc Omit duplicate text.



details:   https://anonhg.NetBSD.org/src/rev/eae2427835cf
branches:  trunk
changeset: 821502:eae2427835cf
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Feb 08 13:31:36 2017 +0000

description:
Omit duplicate text.

diffstat:

 lib/libc/README |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (25 lines):

diff -r 09ef8fadf3a7 -r eae2427835cf lib/libc/README
--- a/lib/libc/README   Wed Feb 08 10:56:12 2017 +0000
+++ b/lib/libc/README   Wed Feb 08 13:31:36 2017 +0000
@@ -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 @@
    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)



Home | Main Index | Thread Index | Old Index