summaryrefslogtreecommitdiffstats
path: root/sys/dev/asr
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-12-13 19:54:12 +0000
committerjhb <jhb@FreeBSD.org>2001-12-13 19:54:12 +0000
commitc56ea0b56a5be795de691d6c55523a2f6f7e3241 (patch)
tree4cd9d8507314a9ca56e2b67c72560fe54ee97343 /sys/dev/asr
parentaa8537df471937e689c187442b92fc37426e49fc (diff)
downloadFreeBSD-src-c56ea0b56a5be795de691d6c55523a2f6f7e3241.zip
FreeBSD-src-c56ea0b56a5be795de691d6c55523a2f6f7e3241.tar.gz
Use C comments instead of C++ comments.
Reported by: gcc30
Diffstat (limited to 'sys/dev/asr')
-rw-r--r--sys/dev/asr/osd_unix.h4
-rw-r--r--sys/dev/asr/osd_util.h22
-rw-r--r--sys/dev/asr/sys_info.h22
3 files changed, 24 insertions, 24 deletions
diff --git a/sys/dev/asr/osd_unix.h b/sys/dev/asr/osd_unix.h
index ad74580..0a3a760 100644
--- a/sys/dev/asr/osd_unix.h
+++ b/sys/dev/asr/osd_unix.h
@@ -402,7 +402,7 @@ typedef struct EATACommandPacket {
#endif /* _DPT_SOLARIS else */
} EATA_CP;
-#endif // SNI_MIPS
+#endif /* SNI_MIPS */
/* Control Flags 1 Definitions */
@@ -509,7 +509,7 @@ typedef struct {
} HbaInfo;
#endif /* _DPT_UNIXWARE */
-#endif // SNI_MIPS
+#endif /* SNI_MIPS */
#ifdef _DPT_AIX
diff --git a/sys/dev/asr/osd_util.h b/sys/dev/asr/osd_util.h
index 150ba1f..4cf049c 100644
--- a/sys/dev/asr/osd_util.h
+++ b/sys/dev/asr/osd_util.h
@@ -219,12 +219,12 @@
/* Reverses the byte ordering of a 2 byte variable */
#if (!defined(osdSwap2))
uSHORT osdSwap2(DPT_UNALIGNED uSHORT *);
-#endif // !osdSwap2
+#endif /* !osdSwap2 */
/* Reverses the byte ordering of a 4 byte variable and shifts left 8 bits */
#if (!defined(osdSwap3))
uLONG osdSwap3(DPT_UNALIGNED uLONG *);
-#endif // !osdSwap3
+#endif /* !osdSwap3 */
#ifdef _DPT_NETWARE
@@ -236,12 +236,12 @@
}
#else
#define osdSwap4(inLong) DPT_Bswapl(inLong)
- #endif // cplusplus
+ #endif /* cplusplus */
#else
/* Reverses the byte ordering of a 4 byte variable */
# if (!defined(osdSwap4))
uLONG osdSwap4(DPT_UNALIGNED uLONG *);
-# endif // !osdSwap4
+# endif /* !osdSwap4 */
/* The following functions ALWAYS swap regardless of the *
* presence of DPT_BIG_ENDIAN */
@@ -249,7 +249,7 @@
uSHORT trueSwap2(DPT_UNALIGNED uSHORT *);
uLONG trueSwap4(DPT_UNALIGNED uLONG *);
-#endif // netware
+#endif /* netware */
/*-------------------------------------*
@@ -269,15 +269,15 @@ uLONG netSwap4(uLONG val);
#if defined (_DPT_BIG_ENDIAN)
-// for big-endian we need to swap
+/* for big-endian we need to swap */
#ifndef NET_SWAP_2
#define NET_SWAP_2(x) (((x) >> 8) | ((x) << 8))
-#endif // NET_SWAP_2
+#endif /* NET_SWAP_2 */
#ifndef NET_SWAP_4
#define NET_SWAP_4(x) netSwap4((x))
-#endif // NET_SWAP_4
+#endif /* NET_SWAP_4 */
#else
@@ -285,13 +285,13 @@ uLONG netSwap4(uLONG val);
#ifndef NET_SWAP_2
#define NET_SWAP_2(x) (x)
-#endif // NET_SWAP_2
+#endif /* NET_SWAP_2 */
#ifndef NET_SWAP_4
#define NET_SWAP_4(x) (x)
-#endif // NET_SWAP_4
+#endif /* NET_SWAP_4 */
-#endif // big endian
+#endif /* big endian */
diff --git a/sys/dev/asr/sys_info.h b/sys/dev/asr/sys_info.h
index 24a5eca..a51a8b4 100644
--- a/sys/dev/asr/sys_info.h
+++ b/sys/dev/asr/sys_info.h
@@ -69,7 +69,7 @@
#else
#pragma pack(1)
#endif /* aix */
-#endif // no unpack
+#endif /* no unpack */
/*struct - driveParam_S - start
@@ -98,7 +98,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -176,7 +176,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -217,7 +217,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -265,7 +265,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -299,7 +299,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -333,7 +333,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -367,7 +367,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -401,7 +401,7 @@
#ifdef DPT_PORTABLE
uSHORT netInsert(dptBuffer_S *buffer);
uSHORT netExtract(dptBuffer_S *buffer);
-#endif // DPT PORTABLE
+#endif /* DPT PORTABLE */
//--------------------------------------------
};
@@ -420,7 +420,7 @@
#else
#pragma pack()
#endif /* aix */
-#endif // no unpack
+#endif /* no unpack */
#ifdef DPT_MEASURE_PERFORMANCE
typedef struct dpt_metrics {
@@ -478,5 +478,5 @@ typedef struct dpt_metrics {
} dpt_perf_t;
#endif
-#endif // __SYS_INFO_H
+#endif /* __SYS_INFO_H */
OpenPOWER on IntegriCloud