summaryrefslogtreecommitdiff
path: root/ace/SOCK_IO.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/SOCK_IO.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/SOCK_IO.h')
-rw-r--r--ace/SOCK_IO.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ace/SOCK_IO.h b/ace/SOCK_IO.h
index 0a7592fe5d1..c6eaa4dbc8e 100644
--- a/ace/SOCK_IO.h
+++ b/ace/SOCK_IO.h
@@ -5,13 +5,13 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// SOCK_IO.h
//
// = AUTHOR
-// Doug Schmidt
-//
+// Doug Schmidt
+//
// ============================================================================
#ifndef ACE_SOCK_IO_H
@@ -20,7 +20,7 @@
#include "ace/SOCK.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class ACE_Export ACE_SOCK_IO : public ACE_SOCK
@@ -68,9 +68,9 @@ public:
// Recv a vector of an <n> byte messages to the connected socket.
ssize_t send (const void *buf,
- size_t n,
+ size_t n,
int flags,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout);
// Wait to to <timeout> amount of time to send up to <n> bytes into
// <buf> from <handle> (uses the <send> call). If <send> times out
// a -1 is returned with <errno == ETIME>. If it succeeds the
@@ -78,16 +78,16 @@ public:
ssize_t recv (void *buf,
size_t n,
- int flags,
- const ACE_Time_Value *timeout);
+ int flags,
+ const ACE_Time_Value *timeout);
// Wait up to <timeout> amount of time to receive up to <n> bytes
// into <buf> from <handle> (uses the <recv> call). If <recv> times
// out a -1 is returned with <errno == ETIME>. If it succeeds the
// number of bytes received is returned.
ssize_t send (const void *buf,
- size_t n,
- const ACE_Time_Value *timeout);
+ size_t n,
+ const ACE_Time_Value *timeout);
// Wait to to <timeout> amount of time to send up to <n> bytes into
// <buf> from <handle> (uses the <send> call). If <send> times out
// a -1 is returned with <errno == ETIME>. If it succeeds the
@@ -95,7 +95,7 @@ public:
ssize_t recv (void *buf,
size_t n,
- const ACE_Time_Value *timeout);
+ const ACE_Time_Value *timeout);
// Wait up to <timeout> amount of time to receive up to <n> bytes
// into <buf> from <handle> (uses the <recv> call). If <recv> times
// out a -1 is returned with <errno == ETIME>. If it succeeds the