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

mail settings
Submitter Andreas Bießmann
Date July 2, 2013, 6:37 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/256287/
State Accepted
Delegated to: Tom Rini
Headers show


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:

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

Signed-off-by: Andreas Bießmann <>
Tested-by: Lubomir Popov <>
Changes in v2: None

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


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>