Stylistic change only (added "do { ... } while( 0 )" around multi-statement macros)
[freeglut] / src / freeglut_internal.h
index 17509ad..4004590 100644 (file)
@@ -28,7 +28,7 @@
 #ifndef  FREEGLUT_INTERNAL_H
 #define  FREEGLUT_INTERNAL_H
 
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
 #    include "config.h"
 #endif
 
@@ -73,7 +73,6 @@
 #include <string.h>
 #include <math.h>
 #include <stdlib.h>
-#include <stdarg.h>
 #if HAVE_SYS_TYPES_H
 #    include <sys/types.h>
 #endif
@@ -382,7 +381,7 @@ do                                                             \
 {                                                              \
     if( FETCH_WCB( window, cbname ) != func )                  \
         (((window).CallBacks[CB_ ## cbname]) = (void *) func); \
-} while( 0 )                                                   \
+} while( 0 )
 
 /*
  * FETCH_WCB() is used as: