Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
close_code.h: #error if included without matching begin_code.h
  • Loading branch information
sezero committed Nov 6, 2018
1 parent a60751b commit ed694ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/close_code.h
Expand Up @@ -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 */
Expand Down

0 comments on commit ed694ec

Please sign in to comment.