Skip to content
Snippets Groups Projects
Commit 2e691cf5 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

auto_init: eliminated pedantic warnings

Otherwise pedantic complains:
Warning: ISO C forbids an empty translation unit
parent f4f328fa
Branches
Tags
No related merge requests found
...@@ -65,6 +65,8 @@ void auto_init_kw2xrf(void) ...@@ -65,6 +65,8 @@ void auto_init_kw2xrf(void)
} }
} }
} }
#else
typedef int dont_be_pedantic;
#endif /* MODULE_NG_KW2XRF */ #endif /* MODULE_NG_KW2XRF */
/** @} */ /** @} */
...@@ -64,6 +64,8 @@ void auto_init_ng_at86rf2xx(void) ...@@ -64,6 +64,8 @@ void auto_init_ng_at86rf2xx(void)
} }
} }
} }
#else
typedef int dont_be_pedantic;
#endif /* MODULE_NG_AT86RF2XX */ #endif /* MODULE_NG_AT86RF2XX */
/** @} */ /** @} */
...@@ -60,5 +60,7 @@ void auto_init_slip(void) ...@@ -60,5 +60,7 @@ void auto_init_slip(void)
} }
} }
#else
typedef int dont_be_pedantic;
#endif /* MODULE_NG_SLIP */ #endif /* MODULE_NG_SLIP */
/** @} */ /** @} */
...@@ -67,5 +67,7 @@ void auto_init_xbee(void) ...@@ -67,5 +67,7 @@ void auto_init_xbee(void)
} }
} }
#else
typedef int dont_be_pedantic;
#endif /* MODULE_XBEE */ #endif /* MODULE_XBEE */
/** @} */ /** @} */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment