mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
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>
This commit is contained in:
parent
5daa1c18b6
commit
c5a028f085
1 changed files with 0 additions and 8 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue