close_code.h: #error if included without matching begin_code.h

This commit is contained in:
Ozkan Sezer 2018-11-06 23:45:50 +03:00
parent a60751b7a7
commit ed694ec61f

View File

@ -26,6 +26,9 @@
* 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
/* Reset structure packing at previous byte alignment */