diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 04:03:21 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-21 22:59:29 +0100 |
commit | c5a028f085020b60040a2b42966f29b25bd6ee8e (patch) | |
tree | 1f51b4b5d1036b2fab27957f2b107640ba78a490 /tools | |
parent | 5daa1c18b6a6877b0619a8dbaad0afd783f79e4f (diff) | |
download | u-boot-c5a028f085020b60040a2b42966f29b25bd6ee8e.tar.gz u-boot-c5a028f085020b60040a2b42966f29b25bd6ee8e.tar.xz u-boot-c5a028f085020b60040a2b42966f29b25bd6ee8e.zip |
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.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/ubsha1.c b/tools/ubsha1.c index 9774eea32e..625e13f90c 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]; |