[PATCH 1/5] unhex.c: Remove unnecessary extern of errno

Joel Sherrill joel at rtems.org
Fri Feb 16 17:23:55 UTC 2018


Closes #2610.
---
 tools/build/unhex.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/build/unhex.c b/tools/build/unhex.c
index 7c3bab0..e05f05f 100644
--- a/tools/build/unhex.c
+++ b/tools/build/unhex.c
@@ -684,8 +684,6 @@ error(int error_flag, ...)
     register char *format;
     int local_errno;
 
-    extern int errno;
-
     (void) fflush(stdout);          /* in case stdout/stderr same */
 
     local_errno = error_flag & ~ERR_MASK;
-- 
1.8.3.1



More information about the devel mailing list