Fri Aug 7 14:04:34 2009 UTC ()
Remove superfluous parenthesis in #ifdef ARGO_DEBUG.
From Henning Petersen in PR 41843.


(wiz)
diff -r1.56 -r1.57 src/sys/netiso/iso.c

cvs diff -r1.56 -r1.57 src/sys/netiso/Attic/iso.c (expand / switch to unified diff)

--- src/sys/netiso/Attic/iso.c 2009/04/18 14:58:06 1.56
+++ src/sys/netiso/Attic/iso.c 2009/08/07 14:04:34 1.57
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: iso.c,v 1.56 2009/04/18 14:58:06 tsutsui Exp $ */ 1/* $NetBSD: iso.c,v 1.57 2009/08/07 14:04:34 wiz Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2001 The NetBSD Foundation, Inc. 4 * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -78,27 +78,27 @@ WHETHER IN AN ACTION OF CONTRACT, NEGLIG @@ -78,27 +78,27 @@ WHETHER IN AN ACTION OF CONTRACT, NEGLIG
78ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 78ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
79SOFTWARE. 79SOFTWARE.
80 80
81******************************************************************/ 81******************************************************************/
82 82
83/* 83/*
84 * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison 84 * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
85 */ 85 */
86/* 86/*
87 * iso.c: miscellaneous routines to support the iso address family 87 * iso.c: miscellaneous routines to support the iso address family
88 */ 88 */
89 89
90#include <sys/cdefs.h> 90#include <sys/cdefs.h>
91__KERNEL_RCSID(0, "$NetBSD: iso.c,v 1.56 2009/04/18 14:58:06 tsutsui Exp $"); 91__KERNEL_RCSID(0, "$NetBSD: iso.c,v 1.57 2009/08/07 14:04:34 wiz Exp $");
92 92
93#include <sys/param.h> 93#include <sys/param.h>
94#include <sys/systm.h> 94#include <sys/systm.h>
95#include <sys/ioctl.h> 95#include <sys/ioctl.h>
96#include <sys/mbuf.h> 96#include <sys/mbuf.h>
97#include <sys/domain.h> 97#include <sys/domain.h>
98#include <sys/protosw.h> 98#include <sys/protosw.h>
99#include <sys/socket.h> 99#include <sys/socket.h>
100#include <sys/socketvar.h> 100#include <sys/socketvar.h>
101#include <sys/errno.h> 101#include <sys/errno.h>
102#include <sys/proc.h> 102#include <sys/proc.h>
103#include <sys/kauth.h> 103#include <sys/kauth.h>
104 104
@@ -723,27 +723,27 @@ iso_ifwithidi(struct sockaddr *addr) @@ -723,27 +723,27 @@ iso_ifwithidi(struct sockaddr *addr)
723 if (argo_debug[D_ROUTE]) { 723 if (argo_debug[D_ROUTE]) {
724 printf("iso_ifwithidi address "); 724 printf("iso_ifwithidi address ");
725 dump_isoaddr(satosiso(ifa->ifa_addr)); 725 dump_isoaddr(satosiso(ifa->ifa_addr));
726 } 726 }
727#endif 727#endif
728 if (ifa->ifa_addr->sa_family != addr->sa_family) 728 if (ifa->ifa_addr->sa_family != addr->sa_family)
729 continue; 729 continue;
730 730
731#ifdef ARGO_DEBUG 731#ifdef ARGO_DEBUG
732 if (argo_debug[D_ROUTE]) { 732 if (argo_debug[D_ROUTE]) {
733 printf(" af same, args to iso_eqtype:\n"); 733 printf(" af same, args to iso_eqtype:\n");
734 printf("0x%x ", satosiso(ifa->ifa_addr)->siso_addr); 734 printf("0x%x ", satosiso(ifa->ifa_addr)->siso_addr);
735 printf(" 0x%x\n", 735 printf(" 0x%x\n",
736 &satosiso(addr)->siso_addr)); 736 &satosiso(addr)->siso_addr);
737 } 737 }
738#endif 738#endif
739 739
740 if (iso_eqtype(&satosiso(ifa->ifa_addr)->siso_addr, 740 if (iso_eqtype(&satosiso(ifa->ifa_addr)->siso_addr,
741 &satosiso(addr)->siso_addr)) { 741 &satosiso(addr)->siso_addr)) {
742#ifdef ARGO_DEBUG 742#ifdef ARGO_DEBUG
743 if (argo_debug[D_ROUTE]) { 743 if (argo_debug[D_ROUTE]) {
744 printf("ifa_ifwithidi: ifa found\n"); 744 printf("ifa_ifwithidi: ifa found\n");
745 } 745 }
746#endif 746#endif
747 return (ifa); 747 return (ifa);
748 } 748 }
749#ifdef ARGO_DEBUG 749#ifdef ARGO_DEBUG