Cosmetics

This commit is contained in:
Bertrand Songis
2019-10-02 16:55:14 +02:00
parent 338413328f
commit 0c339cf4ca
+4 -4
View File
@@ -21,6 +21,10 @@
#ifndef _DEFINITIONS_H_
#define _DEFINITIONS_H_
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
#if !defined(M_PI)
#define M_PI 3.14159265358979323846 // pi
#define M_PI_2 1.57079632679489661923 // pi/2
@@ -37,10 +41,6 @@
#define M_LN10 2.30258509299404568402 // ln(10)
#endif
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
#if !defined(UNUSED)
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
#endif