summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-21 04:03:21 -0500
committerWolfgang Denk <wd@denx.de>2010-01-21 22:59:29 +0100
commitc5a028f085020b60040a2b42966f29b25bd6ee8e (patch)
tree1f51b4b5d1036b2fab27957f2b107640ba78a490 /tools
parent5daa1c18b6a6877b0619a8dbaad0afd783f79e4f (diff)
downloadu-boot-imx-c5a028f085020b60040a2b42966f29b25bd6ee8e.zip
u-boot-imx-c5a028f085020b60040a2b42966f29b25bd6ee8e.tar.gz
u-boot-imx-c5a028f085020b60040a2b42966f29b25bd6ee8e.tar.bz2
ubsha1: drop unnecessary includes/prototypes
This code doesn't use any config.h defines, and the sha1.h header already declares a sha1_csum prototype. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/ubsha1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/ubsha1.c b/tools/ubsha1.c
index 9774eea..625e13f 100644
--- a/tools/ubsha1.c
+++ b/tools/ubsha1.c
@@ -31,14 +31,6 @@
#include <sys/stat.h>
#include "sha1.h"
-#ifndef __ASSEMBLY__
-#define __ASSEMBLY__ /* Dirty trick to get only #defines */
-#endif
-#include <config.h>
-#undef __ASSEMBLY__
-
-extern void sha1_csum (unsigned char *input, int ilen, unsigned char output[20]);
-
int main (int argc, char **argv)
{
unsigned char output[20];