aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-18 03:23:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-19 14:15:44 +0000
commitef031ed8d62e86a7355200b6982682d39dee5032 (patch)
treeb13ef2676937b1977313bdf7f158432bf3e67a57 /vespalib
parent876b07cf8ce2f17d08c772381877a468feefc7b4 (diff)
Do not include fastos.h in header files.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/sha1/rfc_sha1.h12
-rw-r--r--vespalib/src/vespa/vespalib/websocket/acceptor.h1
-rw-r--r--vespalib/src/vespa/vespalib/websocket/websocket_server.h1
3 files changed, 2 insertions, 12 deletions
diff --git a/vespalib/src/tests/sha1/rfc_sha1.h b/vespalib/src/tests/sha1/rfc_sha1.h
index a5e21eb1d1c..031b4194ca5 100644
--- a/vespalib/src/tests/sha1/rfc_sha1.h
+++ b/vespalib/src/tests/sha1/rfc_sha1.h
@@ -4,7 +4,6 @@
/*
Modifications:
- renamed file from "sha1.h" to "rfc_sha1.h"
- - include "fastos/fastos.h" instead of <stdint.h>
- use 'uint32_t' instead of 'int_least16_t'
*/
@@ -24,15 +23,8 @@
*
*/
#pragma once
-/*
- * If you do not have the ISO standard stdint.h header file, then you
- * must typdef the following:
- * name meaning
- * uint32_t unsigned 32 bit integer
- * uint8_t unsigned 8 bit integer (i.e., unsigned char)
- *
- */
-#include <vespa/fastos/fastos.h>
+
+#include <cstdint>
#ifndef _SHA_enum_
#define _SHA_enum_
diff --git a/vespalib/src/vespa/vespalib/websocket/acceptor.h b/vespalib/src/vespa/vespalib/websocket/acceptor.h
index 6d6965b4a80..329c5a0f998 100644
--- a/vespalib/src/vespa/vespalib/websocket/acceptor.h
+++ b/vespalib/src/vespa/vespalib/websocket/acceptor.h
@@ -2,7 +2,6 @@
#pragma once
-#include <vespa/fastos/fastos.h>
#include "handler.h"
#include "server_socket.h"
#include <thread>
diff --git a/vespalib/src/vespa/vespalib/websocket/websocket_server.h b/vespalib/src/vespa/vespalib/websocket/websocket_server.h
index cc0ebed8384..3b36a7bd12e 100644
--- a/vespalib/src/vespa/vespalib/websocket/websocket_server.h
+++ b/vespalib/src/vespa/vespalib/websocket/websocket_server.h
@@ -2,7 +2,6 @@
#pragma once
-#include <vespa/fastos/fastos.h>
#include "handler.h"
#include "acceptor.h"
#include <map>