vc4: Include stdio/stdlib in headers so I don't have to include it per file.
authorEric Anholt <eric@anholt.net>
Tue, 19 Aug 2014 17:34:15 +0000 (10:34 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Aug 2014 17:16:57 +0000 (10:16 -0700)
There are a few tools I want to have always available, and fprintf() and
abort() are among them.

15 files changed:
src/gallium/drivers/vc4/vc4_bufmgr.c
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_opt_algebraic.c
src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
src/gallium/drivers/vc4/vc4_opt_dead_code.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_simulator.c
src/gallium/drivers/vc4/vc4_state.c

index a87cdfa9fd42164311562b19aff2a90cff533692..6d622c063d675beabe89af326ddc3e5691a42486 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <errno.h>
 #include <err.h>
-#include <stdio.h>
 #include <sys/mman.h>
 #include <xf86drm.h>
 #include <xf86drmMode.h>
index 1ffaab12765e002a12f0d5eebac4d2c8a74b7293..5d698a847981209115dd899663bbb502037a262f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <xf86drm.h>
 #include <err.h>
-#include <stdio.h>
 
 #include "pipe/p_defines.h"
 #include "util/u_inlines.h"
index 641609b65e9eedf8f3305ef8f05efef48dbd92c4..258852e2743d52ad3ccb4b98cf33c090385e28c7 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef VC4_CONTEXT_H
 #define VC4_CONTEXT_H
 
+#include <stdio.h>
+
 #include "pipe/p_context.h"
 #include "pipe/p_state.h"
 #include "util/u_slab.h"
index 3f19862f5ea1c47a2047f10778dc8e89b24219a7..cf3fc03d2222284fc0060b03484a3076047c2dcc 100644 (file)
@@ -22,8 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-
 #include "util/u_format.h"
 #include "util/u_pack_color.h"
 #include "indices/u_primconvert.h"
index 84e0515d1cf7344dec625289106bacb2312337e4..2bf474ccef9cfe23cda8d2c0390cd48224f0fab2 100644 (file)
@@ -32,7 +32,6 @@
  * later be copy-propagated out.
  */
 
-#include <stdio.h>
 #include "vc4_qir.h"
 
 bool
index dc4b5bc3c38ecc82f3e0ade6caeacf9ce18b64cd..4f17a2777d9687b521ee45c8426a8aae49eeac9e 100644 (file)
@@ -32,8 +32,6 @@
  * there's no killing to worry about.
  */
 
-#include <stdlib.h>
-#include <stdio.h>
 #include "vc4_qir.h"
 
 bool
index 26e4ddfd233193d9709fa749d74549fc9d4ed606..4ceaf6ba14a3251b9d584bb68d6c1ecb1e1c39bf 100644 (file)
@@ -31,8 +31,6 @@
  * instructions as used.
  */
 
-#include <stdio.h>
-#include <stdlib.h>
 #include "vc4_qir.h"
 
 bool
index c6a6a2e0c225a7a559bbbd56e4ea9db699334264..8907cc65ea148f3594c668fc883d0419057b2449 100644 (file)
@@ -22,7 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
 #include <inttypes.h>
 #include "pipe/p_state.h"
 #include "util/u_format.h"
index 0911e4e326dd7ae3bc3e82fc339ebb86e55f3bae..aa1f40b1162abb16b5de6d4b5ff3738b06b28e4a 100644 (file)
@@ -21,8 +21,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-
 #include "util/u_memory.h"
 #include "util/u_simple_list.h"
 
index e205a533385b4ef4c850a3a2e5faa6b791698478..9277d4abc544377edb1b66c12e9583c3cf1c92b7 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef VC4_QIR_H
 #define VC4_QIR_H
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <stdbool.h>
 #include <stdint.h>
 
index 4e8a6b2d8e9506aee1d2386bd48af64071794084..434910198559cdc0533e0896af6e786e20a59c93 100644 (file)
@@ -21,7 +21,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
 #include <inttypes.h>
 
 #include "vc4_context.h"
index 349837e9824004e9bbb1576d1cfc0a3e5d002e43..c2978c0433acd20064debc149a3317cdf16e6612 100644 (file)
@@ -22,8 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-
 #include "util/u_memory.h"
 #include "util/u_format.h"
 #include "util/u_inlines.h"
index 4a86e21169df8901b2504dcefb4a3fc3ba0853b9..feff50c4b05199d93fe4e20eabda613d207a31eb 100644 (file)
@@ -22,8 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-
 #include "os/os_misc.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
index cedd401d47aa758e8a9f8e159fc25c6021578328..416a201b40f1e2bea2a542b2bb5b21ff6ea8df68 100644 (file)
@@ -23,8 +23,6 @@
 
 #ifdef USE_VC4_SIMULATOR
 
-#include <stdio.h>
-
 #include "util/u_memory.h"
 
 #include "vc4_screen.h"
index d2c53a5b8eb166d20d63ce51847f2f6d6d22ff5e..58c300e6549746d90628152bfa78b6586045f421 100644 (file)
@@ -22,8 +22,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-
 #include "pipe/p_state.h"
 #include "util/u_inlines.h"
 #include "util/u_math.h"