]> granicus.if.org Git - neomutt/commitdiff
Kill useless crypthash.h file 581/head
authorPietro Cerutti <gahr@gahr.ch>
Mon, 15 May 2017 12:14:31 +0000 (12:14 +0000)
committerRichard Russon <rich@flatcap.org>
Wed, 17 May 2017 16:27:43 +0000 (17:27 +0100)
Makefile.am
crypthash.h [deleted file]
sha1.h

index f1e4a473c89cee7db3177741f42e2d7324ba7fb7..c6987ad05cdf98bcc6f498c2c5f65930561cf473 100644 (file)
@@ -75,7 +75,7 @@ EXTRA_mutt_SOURCES = browser.h crypt_gpgme.c crypt_mod_pgp_classic.c \
 
 EXTRA_DIST = account.h ascii.h attach.h bcache.h browser.h buffer.h buffy.h \
        ChangeLog ChangeLog.neomutt ChangeLog.nntp charset.h compress.h \
-       config.rpath copy.h COPYRIGHT crypt_gpgme.h crypthash.h depcomp \
+       config.rpath copy.h COPYRIGHT crypt_gpgme.h depcomp \
        dotlock.h extlib.c filter.h functions.h gen_defs globals.h group.h \
        hash.h history.h init.h keymap.h lib.h LICENSE.md mailbox.h mapping.h \
        mbyte.h md5.h mime.h mime.types mutt.h mutt_commands.h mutt_crypt.h \
diff --git a/crypthash.h b/crypthash.h
deleted file mode 100644 (file)
index 0cd2a3a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation, either version 2 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef _MUTT_CRYPTHASH_H
-#define _MUTT_CRYPTHASH_H 1
-
-#include <sys/types.h>
-#include <inttypes.h>
-
-/* POINTER defines a generic pointer type */
-typedef unsigned char *POINTER;
-
-#endif /* _MUTT_CRYPTHASH_H */
diff --git a/sha1.h b/sha1.h
index fca2c04c9b7387fdf440271804db4c3d69873a81..9f51a7120a5885d4dff50e0c0e5abdb94cf798ad 100644 (file)
--- a/sha1.h
+++ b/sha1.h
@@ -8,7 +8,7 @@
 #ifndef _MUTT_SHA1_H
 #define _MUTT_SHA1_H 1
 
-#include "crypthash.h"
+#include <inttypes.h>
 
 struct Sha1Ctx
 {