* This file is for inclusion from _within_ the library only.
*/
-#ifndef _AUBIO_PRIV_H
-#define _AUBIO_PRIV_H
+#ifndef _AUBIO__PRIV_H
+#define _AUBIO__PRIV_H
/*********************
*
*
*/
-#if 1 //HAVE_CONFIG_H
#include "config.h"
-#endif
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
/* must be included before fftw3.h */
-#if HAVE_COMPLEX_H
+#ifdef HAVE_COMPLEX_H
#include <complex.h>
#endif
-#if HAVE_FFTW3 || HAVE_FFTW3F
+#if defined(HAVE_FFTW3) || defined(HAVE_FFTW3F)
#include <fftw3.h>
#endif
-#if HAVE_MATH_H
+#ifdef HAVE_MATH_H
#include <math.h>
#endif
-#if HAVE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#endif
-#if HAVE_LIMITS_H
+#ifdef HAVE_LIMITS_H
#include <limits.h> // for CHAR_BIT, in C99 standard
#endif
#define AUBIO_ERR(format, args...) fprintf(stderr, "AUBIO ERROR: " format , ##args)
#define AUBIO_MSG(format, args...) fprintf(stdout, format , ##args)
#define AUBIO_DBG(format, args...) fprintf(stderr, format , ##args)
-#define AUBIO_WRN(...) fprintf(stderr, "AUBIO WARNING: " format, ##args)
+#define AUBIO_WRN(format, args...) fprintf(stderr, "AUBIO WARNING: " format, ##args)
#endif
#define AUBIO_ERROR AUBIO_ERR
#define UNUSED __attribute__((unused))
-#endif/*_AUBIO_PRIV_H*/
+#endif /* _AUBIO__PRIV_H */