1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

protect .h file contents correctly.

This commit is contained in:
Alexey Zelkin 2000-09-01 12:13:33 +00:00
parent 6b9175e062
commit 2873532b59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65325

View File

@ -1,8 +1,7 @@
/* $FreeBSD$ */
/* -*-c++-*- */
#ifndef __msgcath
#ifndef _MSGCAT_H_
#define _MSGCAT_H_
/***********************************************************
@ -44,23 +43,12 @@ up-to-date. Many thanks.
* On disk data structures
*/
/* Edit History
02/25/91 2 nazgul Byte order flags, upped the version number
11/03/90 1 hamilton Alphalpha->Alfalfa & OmegaMail->Poste
08/13/90 1 schulert move from ua to omu
*/
/* For or'd constants */
#define MCMakeId(s,m) (unsigned long) ( ((unsigned short)s << (sizeof(short)*8)) \
| (unsigned short)m )
#define MCSetId(id) (unsigned int) ( id >> (sizeof(short) * 8) )
#define MCMsgId(id) (unsigned int) ( (id << (sizeof(short) * 8)) \
>> (sizeof(short) * 8) )
#undef S
#undef UI
#undef UL
#define MCMagicLen 8
#define MCMagic "*nazgul*"
#define MCLastMsg 0
@ -164,7 +152,4 @@ typedef struct {
#define MC68KByteOrder 0x01
#define MCn86ByteOrder 0x02
#endif
#endif /* !_MSGCAT_H_ */