summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/AV/ntp-time.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/ntp-time.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
index 11dcd720911..d2e4b5da547 100644
--- a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
+++ b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
@@ -1,5 +1,4 @@
-// -*- C++ -*-
-
+/* -*- C++ -*- */
// $Id$
/*
* Copyright (c) 1995 The Regents of the University of California.
@@ -32,13 +31,15 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * @(#) $Header$
*/
-
#ifndef TAO_AV_NTP_TIME_H
#define TAO_AV_NTP_TIME_H
#include /**/ "ace/pre.h"
-#include "orbsvcs/AV/RTCP.h"
+#include "ace/OS.h"
+#include "RTCP.h"
/*
* convert microseconds to fraction of second * 2^32 (i.e., the lsw of
@@ -48,8 +49,8 @@
*/
ACE_INLINE u_int usec2ntp(u_int usec)
{
- u_int const t = (usec * 1825) >> 5;
- return ((usec << 12) + (usec << 8) - t);
+ u_int t = (usec * 1825) >> 5;
+ return ((usec << 12) + (usec << 8) - t);
}
/*