[rtems commit] unhex.c: Remove unnecessary extern of errno

Joel Sherrill joel at rtems.org
Mon Feb 19 19:09:30 UTC 2018


Module:    rtems
Branch:    master
Commit:    dad79bb9a89f59d450aefdcbc4bca4a4e83dfbd0
Changeset: http://git.rtems.org/rtems/commit/?id=dad79bb9a89f59d450aefdcbc4bca4a4e83dfbd0

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Feb  7 11:18:38 2018 -0600

unhex.c: Remove unnecessary extern of errno

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;



More information about the vc mailing list