Module Name: src Committed By: christos Date: Tue Oct 7 22:20:33 UTC 2014
Modified Files: src/lib/libc/time: private.h Log Message: don't define functions we define in our own headers To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/lib/libc/time/private.h 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/time/private.h diff -u src/lib/libc/time/private.h:1.36 src/lib/libc/time/private.h:1.37 --- src/lib/libc/time/private.h:1.36 Tue Oct 7 17:51:03 2014 +++ src/lib/libc/time/private.h Tue Oct 7 18:20:33 2014 @@ -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 @@ time_t posix2time(time_t); ** is not done here. What we call 'struct state' NetBSD calls ** 'struct __state', but this is a private name so it doesn't matter. */ -#if NETBSD_INSPIRED #ifndef __NetBSD__ +#if NETBSD_INSPIRED 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 @@ time_t time2posix_z(timezone_t __restric # endif # endif #endif +#endif /* ** Private function declarations.