Module Name: src
Committed By: christos
Date: Mon Jul 31 23:52:13 UTC 2023
Modified Files:
src/sys/dev/usb: usb.h
Log Message:
put back old names (should be removed from the sanitizers)
To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/dev/usb/usb.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/dev/usb/usb.h
diff -u src/sys/dev/usb/usb.h:1.122 src/sys/dev/usb/usb.h:1.123
--- src/sys/dev/usb/usb.h:1.122 Mon Jul 31 13:41:18 2023
+++ src/sys/dev/usb/usb.h Mon Jul 31 19:52:12 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.h,v 1.122 2023/07/31 17:41:18 christos Exp $ */
+/* $NetBSD: usb.h,v 1.123 2023/07/31 23:52:12 christos Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -988,6 +988,12 @@ struct usb_event30 {
} u;
};
+#if 1 /* XXX: remove me, for the benefit of sanitizers */
+#define usb_device_info_old usb_device_info30
+#define usb_event_old usb_event30
+#define USB_DEVICEINFO_OLD USB_DEVICEINFO_30
+#define USB_GET_DEVICEINFO_OLD USB_GET_DEVICEINFO_30
+#endif
/* USB controller */
#define USB_REQUEST _IOWR('U', 1, struct usb_ctl_request)