summaryrefslogtreecommitdiff
path: root/ACE/ace/IOStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/IOStream.h')
-rw-r--r--ACE/ace/IOStream.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/ACE/ace/IOStream.h b/ACE/ace/IOStream.h
index e04a1583710..8be12fee0fe 100644
--- a/ACE/ace/IOStream.h
+++ b/ACE/ace/IOStream.h
@@ -134,7 +134,7 @@ public:
* providing separate read/write buffers, it is up to us to manage
* their memory.
*/
- virtual ~ACE_Streambuf (void);
+ virtual ~ACE_Streambuf ();
/// Get the current Time_Value pointer and provide a new one.
ACE_Time_Value *recv_timeout (ACE_Time_Value *tv = 0);
@@ -154,7 +154,7 @@ public:
/// Return the number of bytes to be 'put' onto the stream media.
/// pbase + put_avail = pptr
- u_int put_avail (void);
+ u_int put_avail ();
/**
* Use this to allocate a new/different buffer for get operations.
@@ -172,18 +172,18 @@ public:
/// Return the number of bytes not yet gotten. eback + get_waiting =
/// gptr
- u_int get_waiting (void);
+ u_int get_waiting ();
/// Return the number of bytes in the get area (includes some already
/// gotten); eback + get_avail = egptr
- u_int get_avail (void);
+ u_int get_avail ();
/// Query the streambuf for the size of its buffers.
- u_int streambuf_size (void);
+ u_int streambuf_size ();
/// Did we take an error because of an IO operation timeout?
/// @note Invoking this resets the flag.
- u_char timeout (void);
+ u_char timeout ();
protected:
ACE_Streambuf (u_int streambuf_size,
@@ -191,10 +191,10 @@ protected:
/// Sync both input and output. See syncin/syncout below for
/// descriptions.
- virtual int sync (void);
+ virtual int sync ();
// = Signatures for the underflow/overflow discussed above.
- virtual int underflow (void);
+ virtual int underflow ();
/// The overflow function receives the character which caused the
/// overflow.
@@ -202,7 +202,7 @@ protected:
/// Resets the <base> pointer and streambuf mode. This is used
/// internally when get/put buffers are allocatd.
- void reset_base (void);
+ void reset_base ();
protected:
// = Two pointer sets for manipulating the read/write areas.
@@ -245,22 +245,22 @@ protected:
* filebuf, the single common buffer is used forcing the <seek>
* call.
*/
- int syncin (void);
+ int syncin ();
/// syncout() is called when the output needs to be flushed. This is
/// easily done by calling the peer's send_n function.
- int syncout (void);
+ int syncout ();
/// flushbuf() is the worker of syncout. It is a separate function
/// because it gets used sometimes in different context.
- int flushbuf (void);
+ int flushbuf ();
/**
* fillbuf is called in a couple of places. This is the worker of
* underflow. It will attempt to fill the read buffer from the
* peer.
*/
- int fillbuf (void);
+ int fillbuf ();
/**
* Used by fillbuf and others to get exactly one byte from the peer.
@@ -268,7 +268,7 @@ protected:
* It is virtual because we really need to override it for
* datagram-derived objects.
*/
- virtual int get_one_byte (void);
+ virtual int get_one_byte ();
/**
* Stream connections and "unconnected connections" (ie --
@@ -290,7 +290,7 @@ protected:
int flags = 0,
ACE_Time_Value *tv = 0) = 0;
- virtual ACE_HANDLE get_handle (void);
+ virtual ACE_HANDLE get_handle ();
# if !defined (ACE_USES_OLD_IOSTREAMS)
char *base () const
@@ -314,7 +314,7 @@ protected:
setbuf (b, (eb - b));
}
- int out_waiting (void)
+ int out_waiting ()
{
return pptr () - pbase ();
}