Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/sys/sys Use ptob function from zfs and n...



details:   https://anonhg.NetBSD.org/src/rev/72b32c85b037
branches:  trunk
changeset: 747964:72b32c85b037
user:      haad <haad%NetBSD.org@localhost>
date:      Wed Oct 07 08:47:12 2009 +0000

description:
Use ptob function from zfs and not NetBSD one.

diffstat:

 external/cddl/osnet/sys/sys/zfs_context.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 679186ee6edd -r 72b32c85b037 external/cddl/osnet/sys/sys/zfs_context.h
--- a/external/cddl/osnet/sys/sys/zfs_context.h Wed Oct 07 08:30:31 2009 +0000
+++ b/external/cddl/osnet/sys/sys/zfs_context.h Wed Oct 07 08:47:12 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zfs_context.h,v 1.1 2009/08/07 20:57:58 haad Exp $     */
+/*     $NetBSD: zfs_context.h,v 1.2 2009/10/07 08:47:12 haad Exp $     */
 
 /*
  * CDDL HEADER START
@@ -499,7 +499,10 @@
 #define        ERESTART        (-1)
 #endif
 
+#ifdef ptob
+#undef ptob
 size_t ptob(size_t);
+#endif
 
 typedef struct ksiddomain {
        uint_t  kd_ref;



Home | Main Index | Thread Index | Old Index