Remove unnecessary usage of #include <iostream>. Rename templated impls from .cc to -impl.h.

This commit is contained in:
John Hood
2014-06-17 02:12:40 -04:00
parent dfdfa5d9b0
commit 882539884e
8 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
#include "user.h"
#include "fatal_assert.h"
#include "pty_compat.h"
#include "networktransport.cc"
#include "networktransport-impl.h"
#include "select.h"
using namespace Network;
-1
View File
@@ -42,7 +42,6 @@
#include <wchar.h>
#include <assert.h>
#include <wctype.h>
#include <iostream>
#include <typeinfo>
#include <termios.h>
-1
View File
@@ -42,7 +42,6 @@
#include <wchar.h>
#include <assert.h>
#include <wctype.h>
#include <iostream>
#include <typeinfo>
#include <sys/ioctl.h>
#include <sys/stat.h>
+1 -1
View File
@@ -89,7 +89,7 @@
#define _PATH_BSHELL "/bin/sh"
#endif
#include "networktransport.cc"
#include "networktransport-impl.h"
typedef Network::Transport< Terminal::Complete, Network::UserStream > ServerConnection;
+1 -1
View File
@@ -60,7 +60,7 @@
#include "select.h"
#include "timestamp.h"
#include "networktransport.cc"
#include "networktransport-impl.h"
void STMClient::resume( void )
{
+1 -1
View File
@@ -3,4 +3,4 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXF
noinst_LIBRARIES = libmoshnetwork.a
libmoshnetwork_a_SOURCES = network.cc network.h networktransport.cc networktransport.h transportfragment.cc transportfragment.h transportsender.cc transportsender.h transportstate.h compressor.cc compressor.h
libmoshnetwork_a_SOURCES = network.cc network.h networktransport-impl.h networktransport.h transportfragment.cc transportfragment.h transportsender-impl.h transportsender.h transportstate.h compressor.cc compressor.h
@@ -30,11 +30,9 @@
also delete it here.
*/
#include <iostream>
#include "networktransport.h"
#include "transportsender.cc"
#include "transportsender-impl.h"
using namespace Network;
using namespace std;