summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-22 15:58:57 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-22 16:56:28 +0300
commita7724966ab4fc8cd680a20e4f2a65f276e001a39 (patch)
tree5aeb953a7172ea061c7884be8c19849b9e2d81d8 /tools
parent1cbe2313edda8a04f0fe233b4a29ef4e2485f557 (diff)
Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx2
-rw-r--r--tools/source/inet/inetstrm.cxx2
-rw-r--r--tools/source/stream/stream.cxx4
-rw-r--r--tools/source/stream/strmunx.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index ceea7803ee7e..7c3616ba5190 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -25,7 +25,7 @@
#include <errno.h>
#include <time.h>
-#include <cstdarg> // combinations
+#include <cstdarg>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index f5306447c346..ec412bd01a4d 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -23,7 +23,7 @@
#include <tools/inetmsg.hxx>
#include <tools/inetstrm.hxx>
-#include <ctype.h> // toupper
+#include <ctype.h>
inline bool SAL_CALL ascii_isWhitespace( sal_Unicode ch )
{
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 92745880ec0f..b688de1ec756 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -23,8 +23,8 @@
#include <string.h>
#include <stdio.h>
-#include <ctype.h> // isspace
-#include <stdlib.h> // strtol, _crotl
+#include <ctype.h>
+#include <stdlib.h>
#include "boost/static_assert.hpp"
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index d3b44dfdd436..cf9fa9dbc776 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -30,7 +30,7 @@
#include <vector>
#include <osl/mutex.hxx>
-#include <osl/thread.h> // osl_getThreadTextEncoding
+#include <osl/thread.h>
// class FileBase
#include <osl/file.hxx>