auto_init: eliminated pedantic warnings
Otherwise pedantic complains: Warning: ISO C forbids an empty translation unit
This commit is contained in:
parent
f4f328fa54
commit
2e691cf565
@ -65,6 +65,8 @@ void auto_init_kw2xrf(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
typedef int dont_be_pedantic;
|
||||
#endif /* MODULE_NG_KW2XRF */
|
||||
|
||||
/** @} */
|
||||
|
||||
@ -64,6 +64,8 @@ void auto_init_ng_at86rf2xx(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
typedef int dont_be_pedantic;
|
||||
#endif /* MODULE_NG_AT86RF2XX */
|
||||
|
||||
/** @} */
|
||||
|
||||
@ -60,5 +60,7 @@ void auto_init_slip(void)
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
typedef int dont_be_pedantic;
|
||||
#endif /* MODULE_NG_SLIP */
|
||||
/** @} */
|
||||
|
||||
@ -67,5 +67,7 @@ void auto_init_xbee(void)
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
typedef int dont_be_pedantic;
|
||||
#endif /* MODULE_XBEE */
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user