BSD 4_4 release
[unix-history] / usr / src / sys / netiso / argo_debug.h
index d08f0d6..653982f 100644 (file)
@@ -1,10 +1,36 @@
 /*-
 /*-
- * Copyright (c) 1991 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1991, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  *
- * %sccs.include.redist.c%
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *     This product includes software developed by the University of
+ *     California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
  *
  *
- *     @(#)argo_debug.h        7.4 (Berkeley) %G%
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ *     @(#)argo_debug.h        8.1 (Berkeley) 6/10/93
  */
 
 /*****************************************************************
  */
 
 /*****************************************************************
@@ -51,14 +77,14 @@ SOFTWARE.
  * lint can't handle the flaky vacuous definitions 
  * of IFDEBUG, ENDDEBUG, etc.
  */
  * lint can't handle the flaky vacuous definitions 
  * of IFDEBUG, ENDDEBUG, etc.
  */
-#endif defined(lint)
+#endif /* defined(lint) */
 
 /***********************************************
  * DEBUG ON:
  **********************************************/
 #ifndef ARGO_DEBUG
 #define ARGO_DEBUG
 
 /***********************************************
  * DEBUG ON:
  **********************************************/
 #ifndef ARGO_DEBUG
 #define ARGO_DEBUG
-#endif ARGO_DEBUG
+#endif /* ARGO_DEBUG */
 
 
 #ifdef ARGO_DEBUG
 
 
 #ifdef ARGO_DEBUG
@@ -78,7 +104,7 @@ unsigned char        argo_debug[128];
        if(argo_debug[ascii]) { 
 #define ENDDEBUG  ; }
 
        if(argo_debug[ascii]) { 
 #define ENDDEBUG  ; }
 
-#else  ARGO_DEBUG
+#else  /* ARGO_DEBUG */
 
 /***********************************************
  * DEBUG OFF:
 
 /***********************************************
  * DEBUG OFF:
@@ -86,11 +112,11 @@ unsigned char      argo_debug[128];
 
 #ifndef STAR
 #define STAR *
 
 #ifndef STAR
 #define STAR *
-#endif STAR
+#endif /* STAR */
 #define IFDEBUG(ascii)  //*beginning of comment*/STAR
 #define ENDDEBUG        STAR/*end of comment*//
 
 #define IFDEBUG(ascii)  //*beginning of comment*/STAR
 #define ENDDEBUG        STAR/*end of comment*//
 
-#endif ARGO_DEBUG
+#endif /* ARGO_DEBUG */
 
 /***********************************************
  * ASSERT 
 
 /***********************************************
  * ASSERT 
@@ -100,15 +126,15 @@ unsigned char     argo_debug[128];
 #ifndef lint
 #define ASSERT(phrase) \
 if( !(phrase) ) printf("ASSERTION NOT VALID at line %d file %s\n",__LINE__,__FILE__)
 #ifndef lint
 #define ASSERT(phrase) \
 if( !(phrase) ) printf("ASSERTION NOT VALID at line %d file %s\n",__LINE__,__FILE__)
-#else lint
+#else /* lint */
 #define ASSERT(phrase) /* phrase */
 #define ASSERT(phrase) /* phrase */
-#endif lint
+#endif /* lint */
 
 
-#else ARGO_DEBUG
+#else /* ARGO_DEBUG */
 
 #define ASSERT(phrase) /* phrase */
 
 
 #define ASSERT(phrase) /* phrase */
 
-#endif ARGO_DEBUG
+#endif /* ARGO_DEBUG */
 
 
 /***********************************************
 
 
 /***********************************************
@@ -252,7 +278,7 @@ void dump_mbuf();
 #define        TPMT_PCB        0x23
 #define        TPMT_PERF       0x45
 
 #define        TPMT_PCB        0x23
 #define        TPMT_PERF       0x45
 
-#else ARGO_DEBUG
+#else /* ARGO_DEBUG */
 
 #define        TPMT_DATA       MT_DATA
 #define        TPMT_RCVRTC     MT_DATA
 
 #define        TPMT_DATA       MT_DATA
 #define        TPMT_RCVRTC     MT_DATA
@@ -265,6 +291,6 @@ void dump_mbuf();
 #define        TPMT_PCB        MT_PCB
 #define        TPMT_PERF       MT_PCB
 
 #define        TPMT_PCB        MT_PCB
 #define        TPMT_PERF       MT_PCB
 
-#endif ARGO_DEBUG
+#endif /* ARGO_DEBUG */
 
 
-#endif __ARGO_DEBUG__
+#endif /* __ARGO_DEBUG__ */