Module Name: src
Committed By: uebayasi
Date: Wed Nov 19 08:10:02 UTC 2014
Modified Files:
src/sys/sys: queue.h
Log Message:
Indent.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/sys/queue.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/sys/queue.h
diff -u src/sys/sys/queue.h:1.67 src/sys/sys/queue.h:1.68
--- src/sys/sys/queue.h:1.67 Sat May 17 21:22:56 2014
+++ src/sys/sys/queue.h Wed Nov 19 08:10:01 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: queue.h,v 1.67 2014/05/17 21:22:56 rmind Exp $ */
+/* $NetBSD: queue.h,v 1.68 2014/11/19 08:10:01 uebayasi Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -541,15 +541,15 @@ struct { \
QUEUEDEBUG_TAILQ_POSTREMOVE((elm), field); \
} while (/*CONSTCOND*/0)
-#define TAILQ_REPLACE(head, elm, elm2, field) do { \
+#define TAILQ_REPLACE(head, elm, elm2, field) do { \
if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != \
TAILQ_END(head)) \
- (elm2)->field.tqe_next->field.tqe_prev = \
- &(elm2)->field.tqe_next; \
- else \
- (head)->tqh_last = &(elm2)->field.tqe_next; \
- (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \
- *(elm2)->field.tqe_prev = (elm2); \
+ (elm2)->field.tqe_next->field.tqe_prev = \
+ &(elm2)->field.tqe_next; \
+ else \
+ (head)->tqh_last = &(elm2)->field.tqe_next; \
+ (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \
+ *(elm2)->field.tqe_prev = (elm2); \
QUEUEDEBUG_TAILQ_POSTREMOVE((elm), field); \
} while (/*CONSTCOND*/0)