From: Mike Frysinger Date: Thu, 21 Jan 2010 09:03:21 +0000 (-0500) Subject: ubsha1: drop unnecessary includes/prototypes X-Git-Tag: v2010.03-rc1~123 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c5a028f085020b60040a2b42966f29b25bd6ee8e;p=oweals%2Fu-boot.git 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 --- 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 #include "sha1.h" -#ifndef __ASSEMBLY__ -#define __ASSEMBLY__ /* Dirty trick to get only #defines */ -#endif -#include -#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];