From 3b8ccca8a3b5e03829fba7cdb57b49fc10917954 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 19 Jan 2015 10:49:41 -0800 Subject: [PATCH] Rename sha1.c and sha1.h to mesa-sha1.c and mesa-sha1.h The filename of sha1.h was conflicting with the system-provided sha1.h, (and in some confiurations, our sha1.c was unsuccessfully attemping to include "sha1.h" and as two different files). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88523 --- src/util/Makefile.sources | 4 ++-- src/util/{sha1.c => mesa-sha1.c} | 2 +- src/util/{sha1.h => mesa-sha1.h} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/util/{sha1.c => mesa-sha1.c} (99%) rename src/util/{sha1.h => mesa-sha1.h} (100%) diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources index 52ae5cc7a91..5ec3fe15253 100644 --- a/src/util/Makefile.sources +++ b/src/util/Makefile.sources @@ -1,6 +1,6 @@ MESA_UTIL_SHADER_CACHE_FILES := \ - sha1.c \ - sha1.h + mesa-sha1.c \ + mesa-sha1.h MESA_UTIL_FILES := \ format_srgb.h \ diff --git a/src/util/sha1.c b/src/util/mesa-sha1.c similarity index 99% rename from src/util/sha1.c rename to src/util/mesa-sha1.c index 27ba93bdf07..fa281937774 100644 --- a/src/util/sha1.c +++ b/src/util/mesa-sha1.c @@ -24,7 +24,7 @@ * DEALINGS IN THE SOFTWARE. */ -#include "sha1.h" +#include "mesa-sha1.h" #if defined(HAVE_SHA1_IN_LIBMD) /* Use libmd for SHA1 */ \ || defined(HAVE_SHA1_IN_LIBC) /* Use libc for SHA1 */ diff --git a/src/util/sha1.h b/src/util/mesa-sha1.h similarity index 100% rename from src/util/sha1.h rename to src/util/mesa-sha1.h -- 2.30.2