Patchwork [U-Boot,v2,1/3] lib/rsa/rsa-sig.c: compile on OS X

login
register
mail settings
Submitter Andreas Bießmann
Date July 2, 2013, 6:37 a.m.
Message ID <1372747057-85539-2-git-send-email-andreas.devel@googlemail.com>
Download mbox | patch
Permalink /patch/256287/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Andreas Bießmann - July 2, 2013, 6:37 a.m.
Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it.
This also fixes an compile error on OS X:

---8<---
u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory
--->8---

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
---
Changes in v2: None

 lib/rsa/rsa-sign.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
index a75ae24..e30d8ca 100644
--- a/lib/rsa/rsa-sign.c
+++ b/lib/rsa/rsa-sign.c
@@ -20,7 +20,6 @@ 
 #include "mkimage.h"
 #include <stdio.h>
 #include <string.h>
-#include <error.h>
 #include <image.h>
 #include <time.h>
 #include <openssl/rsa.h>