Module: Mesa
Branch: master
Commit: 4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c1c9d62a9503d912f0f4c22e0e5a162c7f2e0d3

Author: Emil Velikov <emil.veli...@collabora.com>
Date:   Tue Oct 11 18:26:19 2016 +0100

isl: make locally used functions static

Signed-off-by: Emil Velikov <emil.veli...@collabra.com>
Reviewed-by: Chad Versace <chadvers...@chromium.org>

---

 src/intel/isl/isl.c |  4 ++--
 src/intel/isl/isl.h | 10 ----------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 839bcfd..7831c5e 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -104,7 +104,7 @@ isl_device_get_sample_counts(struct isl_device *dev)
 /**
  * @param[out] info is written only on success
  */
-bool
+static bool
 isl_tiling_get_info(const struct isl_device *dev,
                     enum isl_tiling tiling,
                     uint32_t format_bpb,
@@ -229,7 +229,7 @@ isl_tiling_get_info(const struct isl_device *dev,
 /**
  * @param[out] tiling is set only on success
  */
-bool
+static bool
 isl_surf_choose_tiling(const struct isl_device *dev,
                        const struct isl_surf_init_info *restrict info,
                        enum isl_tiling *tiling)
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 967bcb2..2edcdd1 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1154,16 +1154,6 @@ isl_tiling_is_std_y(enum isl_tiling tiling)
    return (1u << tiling) & ISL_TILING_STD_Y_MASK;
 }
 
-bool
-isl_tiling_get_info(const struct isl_device *dev,
-                    enum isl_tiling tiling,
-                    uint32_t format_bpb,
-                    struct isl_tile_info *info);
-bool
-isl_surf_choose_tiling(const struct isl_device *dev,
-                       const struct isl_surf_init_info *restrict info,
-                       enum isl_tiling *tiling);
-
 struct isl_extent2d ATTRIBUTE_CONST
 isl_get_interleaved_msaa_px_size_sa(uint32_t samples);
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to