(errno): Remove declarations that have been there
authorNeil Jerram <neil@ossau.uklinux.net>
Wed, 27 Feb 2008 21:24:44 +0000 (21:24 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Wed, 27 Feb 2008 21:24:44 +0000 (21:24 +0000)
forever, and are known to conflict on some platforms with that
provided by <errno.h>, which we include unconditionally.  If
<errno.h> doesn't provide a errno declaration, what is the point
of it?

libguile/ChangeLog
libguile/_scm.h

index 23b3df6b489adf5d0ea7bf01acaa4bcc4271aff0..82a52de8357902210d052c911008fcc6d5ca567e 100644 (file)
@@ -1,3 +1,11 @@
+2008-02-27  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * _scm.h (errno): Remove declarations that have been there
+       forever, and are known to conflict on some platforms with that
+       provided by <errno.h>, which we include unconditionally.  If
+       <errno.h> doesn't provide a errno declaration, what is the point
+       of it?
+
 2008-02-23  Ludovic Courtès  <ludo@gnu.org>
 
        * numbers.c (scm_make_rectangular): Rename argument to
index c276c07c09b0685cd62d5f1fcb29cdd2fbc28e8f..4d6ded68e31de7a5e3ab0061b4683663d5b25e7a 100644 (file)
 # define SCM_SYSCALL(line) line;
 #endif /* ndef SCM_SYSCALL */
 
-#if !defined (MSDOS) && !defined (__MINGW32__)
-# ifdef ARM_ULIB
-    extern volatile int errno;
-# else
-    extern int errno;
-# endif /* def ARM_ULIB */
-#endif /* ndef MSDOS && ndef __MINGW32__*/
-
 \f
 
 #ifndef min