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 Johnston <jjohnstn@redhat.com>2003-05-27 23:57:58 +0400
committerJeff Johnston <jjohnstn@redhat.com>2003-05-27 23:57:58 +0400
commit71c7884720f4baf1a7ababa05dce32223fe09237 (patch)
tree01155b6413c5304c5d62810ac75fb9e1b13bfa65 /libgloss/libnosys
parenta946fb037ddb3db8acc4b25da6110a35c89cf6f3 (diff)
2003-05-27 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/Makefile.in: Add errno.o. * libnosys/errno.c: New file to supply errno definition if one not provided yet.
Diffstat (limited to 'libgloss/libnosys')
-rw-r--r--libgloss/libnosys/Makefile.in4
-rw-r--r--libgloss/libnosys/errno.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in
index 485615452..3aaf04de3 100644
--- a/libgloss/libnosys/Makefile.in
+++ b/libgloss/libnosys/Makefile.in
@@ -64,8 +64,8 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
# object files needed
-OBJS = close.o environ.o execve.o fork.o fstat.o getpid.o gettod.o isatty.o \
- kill.o link.o lseek.o open.o read.o sbrk.o stat.o \
+OBJS = close.o environ.o errno.o execve.o fork.o fstat.o getpid.o gettod.o \
+ isatty.o kill.o link.o lseek.o open.o read.o sbrk.o stat.o \
times.o unlink.o wait.o write.o
# Object files specific to particular targets.
diff --git a/libgloss/libnosys/errno.c b/libgloss/libnosys/errno.c
new file mode 100644
index 000000000..27d8e3a3e
--- /dev/null
+++ b/libgloss/libnosys/errno.c
@@ -0,0 +1,3 @@
+/* Supply a definition of errno if one not already provided. */
+
+int errno;