summaryrefslogtreecommitdiffstatshomepage
path: root/py/misc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
committerDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
commit9ddbe291c4217873b7f50dc03c025aa0c9ffee3d (patch)
treeb5dd73487e5c59dcf5b3016893ee890f2455d1d6 /py/misc.h
parentf89d659e3b587fb806d20f5f243f5ed79ed19a5d (diff)
downloadmicropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.tar.gz
micropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.zip
py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.
Diffstat (limited to 'py/misc.h')
-rw-r--r--py/misc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/py/misc.h b/py/misc.h
index 2f53dcbd3d..c0fd293de5 100644
--- a/py/misc.h
+++ b/py/misc.h
@@ -23,12 +23,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_MISC_H__
+#define __MICROPY_INCLUDED_PY_MISC_H__
// a mini library of useful types and functions
-#ifndef _INCLUDED_MINILIB_H
-#define _INCLUDED_MINILIB_H
-
/** types *******************************************************/
#include <stdbool.h>
@@ -185,4 +184,4 @@ static inline mp_uint_t count_lead_ones(byte val) {
}
#endif
-#endif // _INCLUDED_MINILIB_H
+#endif // __MICROPY_INCLUDED_PY_MISC_H__