summaryrefslogtreecommitdiff
path: root/cpp/lib/common/sys
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
committerAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
commit6bc8ab8e4b209b841969544fc735361335040906 (patch)
tree90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/lib/common/sys
parentf92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff)
downloadqpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/sys')
-rw-r--r--cpp/lib/common/sys/apr/APRSocket.cpp2
-rw-r--r--cpp/lib/common/sys/apr/APRSocket.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/common/sys/apr/APRSocket.cpp b/cpp/lib/common/sys/apr/APRSocket.cpp
index 621a66b919..96dbd132a1 100644
--- a/cpp/lib/common/sys/apr/APRSocket.cpp
+++ b/cpp/lib/common/sys/apr/APRSocket.cpp
@@ -63,7 +63,7 @@ bool APRSocket::isOpen() const {
return !closed;
}
-u_int8_t APRSocket::read(){
+uint8_t APRSocket::read(){
char data[1];
apr_size_t bytes = 1;
apr_status_t s = apr_socket_recv(socket, data, &bytes);
diff --git a/cpp/lib/common/sys/apr/APRSocket.h b/cpp/lib/common/sys/apr/APRSocket.h
index d4274300f2..a55dfc06b0 100644
--- a/cpp/lib/common/sys/apr/APRSocket.h
+++ b/cpp/lib/common/sys/apr/APRSocket.h
@@ -37,7 +37,7 @@ namespace sys {
void write(qpid::framing::Buffer& b);
void close();
bool isOpen() const;
- u_int8_t read();
+ uint8_t read();
~APRSocket();
};