diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:06:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:06:27 +0000 |
commit | 705ce36d85df6a6ab0f881a89797a5a88bd0422a (patch) | |
tree | a892a8176b72693e5e84f66ca93fcb3ed041f94c /libc/sysdeps/linux/m68k | |
parent | 31c580aa61615bcea5625ae884db7ad965bb1829 (diff) |
Added common handling of errno.
Diffstat (limited to 'libc/sysdeps/linux/m68k')
-rw-r--r-- | libc/sysdeps/linux/m68k/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/m68k/errno.c | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index fd55d7944..12c659a07 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -33,7 +33,7 @@ CRT0_OBJ=$(patsubst %.S,%.o, $(CRT0)) SSRC=setjmp.S # longjmp.S _start.S clone.S SOBJS=$(patsubst %.S,%.o, $(SSRC)) -CSRC=errno.c +CSRC=#errno.c COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(SOBJS) $(MOBJ) $(COBJS) diff --git a/libc/sysdeps/linux/m68k/errno.c b/libc/sysdeps/linux/m68k/errno.c deleted file mode 100644 index 7c46530d9..000000000 --- a/libc/sysdeps/linux/m68k/errno.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <errno.h> - -int errno = 0; - -int * -__errno_location ( void ) -{ - return &errno; -} |