ubsha1: drop unnecessary includes/prototypes
authorMike Frysinger <vapier@gentoo.org>
Thu, 21 Jan 2010 09:03:21 +0000 (04:03 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 21 Jan 2010 21:59:29 +0000 (22:59 +0100)
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>
tools/ubsha1.c

index 9774eea..625e13f 100644 (file)
 #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];