summaryrefslogtreecommitdiffstats
path: root/src/util/mesa-sha1.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-01-24 21:21:10 +0000
committerEmil Velikov <[email protected]>2017-03-15 11:18:45 +0000
commit0fd61fb639f7704c4faa8c7fd262af32b3a1a01b (patch)
tree94d97f7125e391afa87c47b6eab395b01205dc20 /src/util/mesa-sha1.h
parenta9a4028fd7136ee2ee7bf0efa8179e7a6312f008 (diff)
util/sha1: drop _mesa_sha1_{update, format} return type
Unused/unchecked by any of the callers. v2: Fix the glsl cases that have crept in since v1 Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Grazvydas Ignotas <[email protected]>
Diffstat (limited to 'src/util/mesa-sha1.h')
-rw-r--r--src/util/mesa-sha1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/mesa-sha1.h b/src/util/mesa-sha1.h
index f927d5772db..ecbc708b5ea 100644
--- a/src/util/mesa-sha1.h
+++ b/src/util/mesa-sha1.h
@@ -34,7 +34,7 @@ extern "C" {
#define _mesa_sha1_init SHA1Init
-int
+void
_mesa_sha1_update(struct mesa_sha1 *ctx, const void *data, int size);
static inline void
@@ -43,7 +43,7 @@ _mesa_sha1_final(struct mesa_sha1 *ctx, unsigned char result[20])
SHA1Final(result, ctx);
}
-char *
+void
_mesa_sha1_format(char *buf, const unsigned char *sha1);
void