summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorkcpoon <none@none>2006-01-06 00:24:46 -0800
committerkcpoon <none@none>2006-01-06 00:24:46 -0800
commit5dddb8bae488ea9cca9f94c51a6cc9396c43dba2 (patch)
treeeb75fdb05bbfdd9efed2cab0d7f205cfc2e616cc /usr/src
parentbaaf27537df696d26823ed1dd9b5a0f45c988c17 (diff)
downloadillumos-gate-5dddb8bae488ea9cca9f94c51a6cc9396c43dba2.tar.gz
6368812 extra backslashes in IP, SCTP macros
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/inet/ip.h14
-rw-r--r--usr/src/uts/common/inet/sctp/sctp.c10
2 files changed, 12 insertions, 12 deletions
diff --git a/usr/src/uts/common/inet/ip.h b/usr/src/uts/common/inet/ip.h
index 358e67d354..e2d2685ade 100644
--- a/usr/src/uts/common/inet/ip.h
+++ b/usr/src/uts/common/inet/ip.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1990 Mentat Inc. */
@@ -1635,18 +1635,18 @@ typedef struct ill_rx_ring ill_rx_ring_t;
/* Is this an ILL whose source address is used by other ILL's ? */
#define IS_USESRC_ILL(ill) \
(((ill)->ill_usesrc_ifindex == 0) && \
- ((ill)->ill_usesrc_grp_next != NULL)) \
+ ((ill)->ill_usesrc_grp_next != NULL))
/* Is this a client/consumer of the usesrc ILL ? */
#define IS_USESRC_CLI_ILL(ill) \
(((ill)->ill_usesrc_ifindex != 0) && \
- ((ill)->ill_usesrc_grp_next != NULL)) \
+ ((ill)->ill_usesrc_grp_next != NULL))
/* Is this an virtual network interface (vni) ILL ? */
#define IS_VNI(ill) \
(((ill) != NULL) && !((ill)->ill_phyint->phyint_flags & \
PHYI_LOOPBACK) && ((ill)->ill_phyint->phyint_flags & \
- PHYI_VIRTUAL)) \
+ PHYI_VIRTUAL))
/*
* IP Lower level Structure.
diff --git a/usr/src/uts/common/inet/sctp/sctp.c b/usr/src/uts/common/inet/sctp/sctp.c
index 83be478faa..c840d3e4e6 100644
--- a/usr/src/uts/common/inet/sctp/sctp.c
+++ b/usr/src/uts/common/inet/sctp/sctp.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -144,7 +144,7 @@ struct kmem_cache *sctp_conn_cache;
#define SCTP_CONDEMNED(sctp) \
mutex_enter(&(sctp)->sctp_reflock); \
((sctp)->sctp_condemned = B_TRUE); \
- mutex_exit(&(sctp)->sctp_reflock); \
+ mutex_exit(&(sctp)->sctp_reflock);
/* Link/unlink a sctp_t to/from the global list. */
#define SCTP_LINK(sctp) \