Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jeffreyalaw@gmail.com>2022-03-20 03:01:33 +0300
committerJeff Law <jeffreyalaw@gmail.com>2022-03-20 03:01:33 +0300
commit0c8679e080d4d55a0d6b7aefbf52188584b2b8e9 (patch)
tree24dce17fc23426e396998d575ae3dd699d7c133e /libgloss/v850/gettime.c
parent090797e3d3ddae25404584e4e43061911066f685 (diff)
Avoid using common symbols in v850 libgloss
I've had this lying around for probably a year or two at this point. It just changes all the instance of "errno" from a common symbol to an extern. I can't offhand recall where the actual definition is, but it certainly exists in the generic code.
Diffstat (limited to 'libgloss/v850/gettime.c')
-rw-r--r--libgloss/v850/gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/v850/gettime.c b/libgloss/v850/gettime.c
index fc47532a0..7a99f8af2 100644
--- a/libgloss/v850/gettime.c
+++ b/libgloss/v850/gettime.c
@@ -4,7 +4,7 @@
#include "sys/syscall.h"
#include "sys/time.h"
-int errno;
+extern int errno;
int __trap0 (int function, int p1, int p2, int p3);