Remove unnecessary usage of #include <iostream>. Rename templated impls from .cc to -impl.h.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <wchar.h>
|
||||
#include <assert.h>
|
||||
#include <wctype.h>
|
||||
#include <iostream>
|
||||
#include <typeinfo>
|
||||
#include <termios.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#include "select.h"
|
||||
#include "timestamp.h"
|
||||
|
||||
#include "networktransport.cc"
|
||||
#include "networktransport-impl.h"
|
||||
|
||||
void STMClient::resume( void )
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user