* Makefile.in (OBJS): Drop transport_sockets.o.

* sysv_shm.cc (shmget_allocate_segment): Remove spurious cast.
	* transport.cc: Don't include transport_sockets.h.
	(create_server_transport): Always create transport_layer_pipes.
	* transport_sockets.cc: Remove.
	* transport_sockets.h: Remove.
This commit is contained in:
Corinna Vinschen
2007-02-22 10:50:51 +00:00
parent 990dce10cc
commit 3fbf471f35
6 changed files with 14 additions and 450 deletions

View File

@@ -1,6 +1,6 @@
/* transport.cc
Copyright 2001, 2002, 2003, 2004 Red Hat Inc.
Copyright 2001, 2002, 2003, 2004, 2007 Red Hat Inc.
Written by Robert Collins <rbtcollins@hotmail.com>
@@ -21,16 +21,12 @@ details. */
#include "transport.h"
#include "transport_pipes.h"
#include "transport_sockets.h"
/* The factory */
transport_layer_base *
create_server_transport ()
{
if (wincap.is_winnt ())
return new transport_layer_pipes;
else
return new transport_layer_sockets;
return new transport_layer_pipes;
}
#ifndef __INSIDE_CYGWIN__