summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-01 16:53:49 +0100
committerMarge Bot <emma+marge@anholt.net>2024-03-03 23:11:05 +0000
commit40c5d39c552b4ba594fbfec70d1d8e91b9290155 (patch)
tree7163cb4f0d8b2cecd64c09fa2a311567244feb5d /include
parentebabca56a4ca1980bfae557a9c0ac32b86a85a0c (diff)
include: move xsha1.h to os/
This header is never exported and belongs to OS layer, thus no need to have it in include/ directory, where all the public ones are - better off under os/. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1350>
Diffstat (limited to 'include')
-rw-r--r--include/xsha1.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/xsha1.h b/include/xsha1.h
deleted file mode 100644
index 60c6a9004..000000000
--- a/include/xsha1.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef XSHA1_H
-#define XSHA1_H
-
-/* Initialize SHA1 computation. Returns NULL on error. */
-void *x_sha1_init(void);
-
-/*
- * Add some data to be hashed. ctx is the value returned by x_sha1_init()
- * Returns 0 on error, 1 on success.
- */
-int x_sha1_update(void *ctx, void *data, int size);
-
-/*
- * Place the hash in result, and free ctx.
- * Returns 0 on error, 1 on success.
- */
-int x_sha1_final(void *ctx, unsigned char result[20]);
-
-#endif