Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add placeholder so that we can later add allbacks without br...
details: https://anonhg.NetBSD.org/src/rev/6cb166f67fcd
branches: trunk
changeset: 779614:6cb166f67fcd
user: manu <manu%NetBSD.org@localhost>
date: Tue Jun 05 15:04:18 2012 +0000
description:
Add placeholder so that we can later add allbacks without breaking the ABI
diffstat:
lib/libperfuse/perfuse_if.h | 3 ++-
usr.sbin/perfused/perfused.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r ed28a11b57eb -r 6cb166f67fcd lib/libperfuse/perfuse_if.h
--- a/lib/libperfuse/perfuse_if.h Tue Jun 05 14:17:43 2012 +0000
+++ b/lib/libperfuse/perfuse_if.h Tue Jun 05 15:04:18 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perfuse_if.h,v 1.18 2011/12/28 17:33:53 manu Exp $ */
+/* $NetBSD: perfuse_if.h,v 1.19 2012/06/05 15:04:18 manu Exp $ */
/*-
* Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -141,6 +141,7 @@
perfuse_get_outhdr_fn pc_get_outhdr;
perfuse_get_outpayload_fn pc_get_outpayload;
perfuse_umount_fn pc_umount;
+ void *pc_reserved[16];
};
/*
diff -r ed28a11b57eb -r 6cb166f67fcd usr.sbin/perfused/perfused.c
--- a/usr.sbin/perfused/perfused.c Tue Jun 05 14:17:43 2012 +0000
+++ b/usr.sbin/perfused/perfused.c Tue Jun 05 15:04:18 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perfused.c,v 1.22 2012/02/04 18:36:30 joerg Exp $ */
+/* $NetBSD: perfused.c,v 1.23 2012/06/05 15:04:18 manu Exp $ */
/*-
* Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
@@ -245,6 +245,7 @@
/*
* Initialize libperfuse, which will initialize libpuffs
*/
+ (void)memset(&pc, 0, sizeof(pc));
pc.pc_new_msg = perfused_new_pb;
pc.pc_xchg_msg = perfused_xchg_pb;
pc.pc_destroy_msg = (perfuse_destroy_msg_fn)puffs_framebuf_destroy;
Home |
Main Index |
Thread Index |
Old Index