Module Name: src
Committed By: christos
Date: Sun Sep 4 10:02:33 UTC 2011
Modified Files:
src/sys/sys: stat.h
Log Message:
Protect new functions with #ifndef __LIBC12_SOURCE__ so that they are not
visibile in the libc12 compat environment.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/sys/stat.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/stat.h
diff -u src/sys/sys/stat.h:1.62 src/sys/sys/stat.h:1.63
--- src/sys/sys/stat.h:1.62 Wed Aug 17 03:25:30 2011
+++ src/sys/sys/stat.h Sun Sep 4 06:02:33 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: stat.h,v 1.62 2011/08/17 07:25:30 manu Exp $ */
+/* $NetBSD: stat.h,v 1.63 2011/09/04 10:02:33 christos Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -240,6 +240,7 @@
int lchmod(const char *, mode_t);
#endif /* defined(_NETBSD_SOURCE) */
+#ifndef __LIBC12_SOURCE__
/*
* X/Open Extended API set 2 (a.k.a. C063)
*/
@@ -249,6 +250,7 @@
#endif
int futimens(int, const struct timespec *);
+#endif
__END_DECLS