Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/include/sys Update recently-added test to adapt to new...
details: https://anonhg.NetBSD.org/src/rev/09b12fd60a3d
branches: trunk
changeset: 356539:09b12fd60a3d
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Oct 02 05:14:29 2017 +0000
description:
Update recently-added test to adapt to new signature of LIST_MOVE()
diffstat:
tests/include/sys/t_list.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8f84394db8c2 -r 09b12fd60a3d tests/include/sys/t_list.c
--- a/tests/include/sys/t_list.c Mon Oct 02 05:13:44 2017 +0000
+++ b/tests/include/sys/t_list.c Mon Oct 02 05:14:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_list.c,v 1.1 2017/10/02 04:15:56 pgoyette Exp $ */
+/* $NetBSD: t_list.c,v 1.2 2017/10/02 05:14:29 pgoyette Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
n2->value = 2;
LIST_INSERT_HEAD(&old_head, n2, entries);
- LIST_MOVE(&old_head, &new_head);
+ LIST_MOVE(&old_head, &new_head, entries);
memcpy(&old_copy, &old_head, sizeof(old_head));
Home |
Main Index |
Thread Index |
Old Index