mesa: include stdarg.h only where it's used
authorBrian Paul <brianp@vmware.com>
Tue, 24 Feb 2015 23:55:53 +0000 (16:55 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Feb 2015 15:38:38 +0000 (08:38 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/drivers/dri/common/xmlconfig.c
src/mesa/main/compiler.h
src/mesa/main/errors.c
src/mesa/main/imports.c
src/mesa/program/program_parse.y

index d69eb0196d35bfdfea44024d91c62ebd7e89251f..518b4da994c701846c110dc77e98ad435819964e 100644 (file)
@@ -27,6 +27,7 @@
  * \author Felix Kuehling
  */
 
+#include <stdarg.h>
 #include <string.h>
 #include <assert.h>
 #include <expat.h>
index cf31ad18778a7adeb8aafe0d8818ea3273d69433..ddbf2ea887f9582809ed6dd9a7a216fe73871f8c 100644 (file)
@@ -42,7 +42,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <float.h>
-#include <stdarg.h>
 
 #include "util/macros.h"
 
index f16b33fa378cb3160a665921d391d6c33043e2a0..43e8adfc1c0637b691a4d6a92f8f828c1fa075a1 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 
+#include <stdarg.h>
 #include "errors.h"
 #include "enums.h"
 #include "imports.h"
index 7997b0e0c36455ceac47649ebdf6750261b82ba1..896b11e8233853f0105a6c8c19ec67fce1de2baa 100644 (file)
@@ -42,8 +42,7 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-
-
+#include <stdarg.h>
 #include "imports.h"
 #include "context.h"
 #include "mtypes.h"
index 268ce05edee72f726a18dec87d740fa6dc0fc972..716b83d2d07955e13e9bcbab2025d68cb8813d0d 100644 (file)
@@ -21,6 +21,8 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>