mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
a72306e9e6
- Fix build with clang PR: ports/181830 Obtained from: NetBSD
38 lines
1.7 KiB
C++
38 lines
1.7 KiB
C++
--- kernel/driver_info.cc.orig 2013-02-25 17:38:05.000000000 +0000
|
|
+++ kernel/driver_info.cc
|
|
@@ -268,6 +268,7 @@ do_scalar_inertial_assignment(driver_inf
|
|
*************************************************************************
|
|
*************************************************************************/
|
|
|
|
+inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &);
|
|
|
|
// Creates transaction composite signals. Returns number of assigned scalars.
|
|
inline int
|
|
@@ -311,7 +312,6 @@ do_array_transport_assignment(driver_inf
|
|
assigned_scalars += do_array_transport_assignment(driver, (array_base&)value.data[j], i, tr_time);
|
|
break;
|
|
case RECORD:
|
|
- inline int do_record_transport_assignment(driver_info &, const record_base &, int, const vtime &);
|
|
assigned_scalars += do_record_transport_assignment(driver, (record_base&)value.data[j], i, tr_time);
|
|
break;
|
|
}
|
|
@@ -338,6 +338,9 @@ driver_info::transport_assign(const arra
|
|
}
|
|
|
|
|
|
+inline int do_record_inertial_assignment(driver_info &, const record_base &, int,
|
|
+ const vtime &, const vtime &);
|
|
+
|
|
// Creates transaction for composite signals. Returns number of assigned scalars.
|
|
inline int
|
|
do_array_inertial_assignment(driver_info &driver,
|
|
@@ -381,8 +384,6 @@ do_array_inertial_assignment(driver_info
|
|
assigned_scalars += do_array_inertial_assignment(driver, (array_base&)value.data[j], i, tr_time, rm_time);
|
|
break;
|
|
case RECORD:
|
|
- inline int do_record_inertial_assignment(driver_info &, const record_base &, int,
|
|
- const vtime &, const vtime &);
|
|
assigned_scalars += do_record_inertial_assignment(driver, (record_base&)value.data[j], i, tr_time, rm_time);
|
|
break;
|
|
}
|