summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sha1.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/sha1.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/sha1.h')
-rw-r--r--lib/libalpm/sha1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/sha1.h b/lib/libalpm/sha1.h
index db16d536..fc0aa230 100644
--- a/lib/libalpm/sha1.h
+++ b/lib/libalpm/sha1.h
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifndef _ALPM_SHA1_H
+#define _ALPM_SHA1_H
#include <stdio.h>
#include <limits.h>
@@ -65,4 +67,6 @@ struct sha_ctx
/* Needed for pacman */
char *_alpm_SHAFile (char *);
+#endif /* _ALPM_SHA1_H */
+
/* vim: set ts=2 sw=2 noet: */