Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time don't define functions we define in our own he...
details: https://anonhg.NetBSD.org/src/rev/44d18078331e
branches: trunk
changeset: 802902:44d18078331e
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 07 22:20:33 2014 +0000
description:
don't define functions we define in our own headers
diffstat:
lib/libc/time/private.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r ba6406169eb2 -r 44d18078331e lib/libc/time/private.h
--- a/lib/libc/time/private.h Tue Oct 07 22:20:17 2014 +0000
+++ b/lib/libc/time/private.h Tue Oct 07 22:20:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: private.h,v 1.36 2014/10/07 21:51:03 christos Exp $ */
+/* $NetBSD: private.h,v 1.37 2014/10/07 22:20:33 christos Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -422,10 +422,9 @@
** is not done here. What we call 'struct state' NetBSD calls
** 'struct __state', but this is a private name so it doesn't matter.
*/
+#ifndef __NetBSD__
#if NETBSD_INSPIRED
-#ifndef __NetBSD__
typedef struct state *timezone_t;
-#endif
struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
struct tm *restrict);
time_t mktime_z(timezone_t restrict, struct tm *restrict);
@@ -440,6 +439,7 @@
# endif
# endif
#endif
+#endif
/*
** Private function declarations.
Home |
Main Index |
Thread Index |
Old Index