Use C comments instead of C++ comments.

Reported by:	gcc30
This commit is contained in:
John Baldwin 2001-12-13 19:54:12 +00:00
parent 98ee763522
commit 7118b0c4c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87816
3 changed files with 24 additions and 24 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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 */