From 1dcd520bb878cfd02e72f31b9e2d8ccdd3073a2c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 15 Sep 2004 10:17:53 +0000 Subject: Fix copyright throughout. Eliminate use of _impure_ptr outside Cygwin. * bsd_helper.cc: Include errno.h instead of cygerrno.h. * bsd_mutex.cc : Ditto. * client.cc: Ditto. * cygserver.cc: Ditto. * process.cc: Don't build functions inside Cygwin. Don't include cygerrno.h. Don't set errno. * transport_pipes.cc (SET_ERRNO): New define. Use througout. * transport_sockets.cc (SET_ERRNO): Ditto. (GET_ERRNO): Ditto. --- winsup/cygserver/bsd_mutex.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygserver/bsd_mutex.cc') diff --git a/winsup/cygserver/bsd_mutex.cc b/winsup/cygserver/bsd_mutex.cc index bd802d033..ad3c4a99d 100644 --- a/winsup/cygserver/bsd_mutex.cc +++ b/winsup/cygserver/bsd_mutex.cc @@ -1,6 +1,6 @@ /* bsd_mutex.cc - Copyright 2003 Red Hat Inc. + Copyright 2003, 2004 Red Hat Inc. This file is part of Cygwin. @@ -9,7 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #ifdef __OUTSIDE_CYGWIN__ #include "woutsup.h" -#include "cygerrno.h" +#include #define _KERNEL 1 #define __BSD_VISIBLE 1 #include -- cgit v1.2.3