summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2008-10-20 22:45:49 +0700
committerMikhail Gusarov <dottedmag@dottedmag.net>2008-10-20 22:45:49 +0700
commit466f7cb57dc32f1624d518a247a30b430dfc028a (patch)
treea27372dcdc5a1796603cbd9c49f200b0d15d598e
parent1dd8f33302f1caa519d20783eef50613d17451bc (diff)
downloadlibsha1-466f7cb57dc32f1624d518a247a30b430dfc028a.tar.gz
sha1.h is renamed to libsha1.h to avoid clashes with libmd.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.am2
-rw-r--r--libsha1.h (renamed from sha1.h)0
-rw-r--r--sha1.c2
-rw-r--r--test.c2
5 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ef1bfd9..7927b2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,9 @@
-* 0.2 (10.10.2008)
+* 0.2 (20.10.2008)
- Removed brg_* headers and cleaned up platform-dependent code.
- Added small testsuite.
- Fixed line endings.
+- sha1.h renamed to libsha1.h to avoid clashes with libmd.
* 0.1 (25.09.2008)
diff --git a/Makefile.am b/Makefile.am
index 204f7f0..ea4747b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
lib_LTLIBRARIES = libsha1.la
libsha1_la_SOURCES = sha1.c
-include_HEADERS = sha1.h
+include_HEADERS = libsha1.h
noinst_PROGRAMS = test
test_LDADD = libsha1.la
diff --git a/sha1.h b/libsha1.h
index b4dca93..b4dca93 100644
--- a/sha1.h
+++ b/libsha1.h
diff --git a/sha1.c b/sha1.c
index 48bef2b..c39a5a1 100644
--- a/sha1.c
+++ b/sha1.c
@@ -35,7 +35,7 @@
#include <string.h> /* for memcpy() etc. */
-#include "sha1.h"
+#include "libsha1.h"
#if defined(__cplusplus)
extern "C"
diff --git a/test.c b/test.c
index ebe2b44..21a6525 100644
--- a/test.c
+++ b/test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <string.h>
-#include "sha1.h"
+#include "libsha1.h"
static void print_hex(const char* data, size_t size)
{