From 326fbb397c6e36f5465556b146892aaac396cddb Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 6 Nov 2018 23:45:04 +0300 Subject: [PATCH] close_code.h: #error if included without matching begin_code.h --- include/close_code.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/close_code.h b/include/close_code.h index 9928eec4d..7a97d88e8 100644 --- a/include/close_code.h +++ b/include/close_code.h @@ -26,12 +26,12 @@ * after you finish any function and structure declarations in your headers */ +#ifndef _begin_code_h +#error close_code.h included without matching begin_code.h +#endif #undef _begin_code_h -/** - * @file close_code.h - * Reset structure packing at previous byte alignment - */ +/* Reset structure packing at previous byte alignment */ #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) #ifdef __BORLANDC__ #pragma nopackwarning