From 2873532b5906a67b21147834e0850e204ddade84 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 1 Sep 2000 12:13:33 +0000 Subject: [PATCH] protect .h file contents correctly. --- lib/libc/nls/msgcat.h | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/lib/libc/nls/msgcat.h b/lib/libc/nls/msgcat.h index 0a4c1643c940..ee6799d30466 100644 --- a/lib/libc/nls/msgcat.h +++ b/lib/libc/nls/msgcat.h @@ -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_ */