diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-12 10:16:05 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-12 10:16:05 +0000 |
commit | 77879554671206102471bb282accb3251395d151 (patch) | |
tree | 4bc8854140028577b324e3ddaf05d043744618a3 /libc/sysdeps/linux/m68k/errno.i | |
parent | e4492b9c21b645018b2d7702665be8c1eb4a1b5c (diff) |
Thanks to James Graves <jgraves@deltamobile.com>, we now have
a first pass at getting m68k working. It may have some problems,
but should now be fairly close.
Diffstat (limited to 'libc/sysdeps/linux/m68k/errno.i')
-rw-r--r-- | libc/sysdeps/linux/m68k/errno.i | 282 |
1 files changed, 282 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/errno.i b/libc/sysdeps/linux/m68k/errno.i new file mode 100644 index 000000000..b26fd2f19 --- /dev/null +++ b/libc/sysdeps/linux/m68k/errno.i @@ -0,0 +1,282 @@ +# 1 "errno.c" +# 1 "../../../include/errno.h" 1 + + + +# 1 "../../../include/features.h" 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 51 "../../../include/features.h" + + + + + + + + + + + + + + + + + + + + + + +# 1 "../../../include/sys/cdefs.h" 1 + + + +# 1 "../../../include/features.h" 1 + +# 76 "../../../include/features.h" + + +# 4 "../../../include/sys/cdefs.h" 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 73 "../../../include/features.h" 2 + + + + + +# 4 "../../../include/errno.h" 2 + +# 1 "../../../include/linux/errno.h" 1 + + + +# 1 "../../../include/asm/errno.h" 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 4 "../../../include/linux/errno.h" 2 + + +# 14 "../../../include/linux/errno.h" + + + +# 5 "../../../include/errno.h" 2 + + +extern int sys_nerr; +extern char * sys_errlist[]; + + + + +extern int errno; +extern void perror ( char* __s) ; +extern char* strerror (int __errno) ; + + +# 1 "errno.c" 2 + + +int errno = 0; + +int * +__errno_location ( void ) +{ + return &errno; +} |