From 51dfcb4bb7613ed164952712d9a5235a7b833cde Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 1 Jan 2015 20:27:54 +0000 Subject: py: Move to guarded includes, everywhere in py/ core. Addresses issue #1022. --- py/formatfloat.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'py/formatfloat.h') diff --git a/py/formatfloat.h b/py/formatfloat.h index 3b963df41..1eb2c1e46 100644 --- a/py/formatfloat.h +++ b/py/formatfloat.h @@ -23,5 +23,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_FORMATFLOAT_H__ +#define __MICROPY_INCLUDED_PY_FORMATFLOAT_H__ -int format_float(float f, char *buf, size_t bufSize, char fmt, int prec, char sign); +int mp_format_float(float f, char *buf, size_t bufSize, char fmt, int prec, char sign); + +#endif // __MICROPY_INCLUDED_PY_FORMATFLOAT_H__ -- cgit v1.2.3