summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/md5.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-06 02:21:41 +0100
committerDan McGee <dan@archlinux.org>2007-03-06 02:21:41 +0100
commit5baba8439761a54c488ff42e4e599b3c93dbe669 (patch)
tree3c9a0585fb7a558bba9c9574777058e2e21d97e1 /lib/libalpm/md5.h
parent869e81e1cf115e835040d0ecadb6108880103abe (diff)
downloadpacman-5baba8439761a54c488ff42e4e599b3c93dbe669.tar.gz
pacman-5baba8439761a54c488ff42e4e599b3c93dbe669.tar.xz
* Added missing header include guards in md5.h and sha1.h.
* Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
Diffstat (limited to 'lib/libalpm/md5.h')
-rw-r--r--lib/libalpm/md5.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libalpm/md5.h b/lib/libalpm/md5.h
index dbd0ab92..8ae324e3 100644
--- a/lib/libalpm/md5.h
+++ b/lib/libalpm/md5.h
@@ -20,8 +20,9 @@ software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
-documentation and/or software.
- */
+documentation and/or software. */
+#ifndef _ALPM_MD5_H
+#define _ALPM_MD5_H
/* POINTER defines a generic pointer type */
typedef unsigned char *POINTER;
@@ -47,4 +48,6 @@ void _alpm_MD5Final(unsigned char [16], MD5_CTX *);
char* _alpm_MDFile(char *);
void _alpm_MDPrint(unsigned char [16]);
+#endif /* _ALPM_MD5_H */
+
/* vim: set ts=2 sw=2 noet: */