diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2022-03-20 03:01:33 +0300 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2022-03-20 03:01:33 +0300 |
commit | 0c8679e080d4d55a0d6b7aefbf52188584b2b8e9 (patch) | |
tree | 24dce17fc23426e396998d575ae3dd699d7c133e /libgloss/v850/stat.c | |
parent | 090797e3d3ddae25404584e4e43061911066f685 (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/stat.c')
-rw-r--r-- | libgloss/v850/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/v850/stat.c b/libgloss/v850/stat.c index dc8351e1a..b66a669df 100644 --- a/libgloss/v850/stat.c +++ b/libgloss/v850/stat.c @@ -3,7 +3,7 @@ #include <sys/stat.h> #include "sys/syscall.h" -int errno; +extern int errno; int __trap0 (int function, int p1, int p2, int p3); |