diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-03-14 14:59:25 (GMT) | 
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-03-14 14:59:25 (GMT) | 
| commit | 6b64f45b9a293ab9cd7c97afa0399c6c37bd4a00 (patch) | |
| tree | fb32b8615081fec99fc51dc7161c021129bf7fac /unix/tclUnixTime.c | |
| parent | d1cd3efa0aa04ba0c8a2c7491bb2c6c4a5dda250 (diff) | |
| download | tcl-6b64f45b9a293ab9cd7c97afa0399c6c37bd4a00.zip tcl-6b64f45b9a293ab9cd7c97afa0399c6c37bd4a00.tar.gz tcl-6b64f45b9a293ab9cd7c97afa0399c6c37bd4a00.tar.bz2  | |
Squelch unnecessary parens, shorten overlong comment lines.
Diffstat (limited to 'unix/tclUnixTime.c')
| -rw-r--r-- | unix/tclUnixTime.c | 30 | 
1 files changed, 15 insertions, 15 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c index e56d60c..01217b6 100644 --- a/unix/tclUnixTime.c +++ b/unix/tclUnixTime.c @@ -9,7 +9,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixTime.c,v 1.37 2010/02/25 22:20:10 nijtmans Exp $ + * RCS: @(#) $Id: tclUnixTime.c,v 1.38 2010/03/14 14:59:25 dkf Exp $   */  #include "tclInt.h" @@ -64,7 +64,7 @@ Tcl_ScaleTimeProc *tclScaleTimeProcPtr = NativeScaleTime;  ClientData tclTimeClientData = NULL;  /* - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   *   * TclpGetSeconds --   * @@ -77,7 +77,7 @@ ClientData tclTimeClientData = NULL;   * Side effects:   *	None.   * - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   */  unsigned long @@ -87,7 +87,7 @@ TclpGetSeconds(void)  }  /* - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   *   * TclpGetClicks --   * @@ -102,7 +102,7 @@ TclpGetSeconds(void)   * Side effects:   *	None.   * - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   */  unsigned long @@ -136,7 +136,7 @@ TclpGetClicks(void)  #ifdef TCL_WIDE_CLICKS  /* - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   *   * TclpGetWideClicks --   * @@ -151,7 +151,7 @@ TclpGetClicks(void)   * Side effects:   *	None.   * - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   */  Tcl_WideInt @@ -176,7 +176,7 @@ TclpGetWideClicks(void)  }  /* - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   *   * TclpWideClicksToNanoseconds --   * @@ -189,7 +189,7 @@ TclpGetWideClicks(void)   * Side effects:   *	None.   * - *----------------------------------------------------------------------------- + *----------------------------------------------------------------------   */  double @@ -424,14 +424,14 @@ TclpGmtime(      ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&tmKey);  #ifdef HAVE_GMTIME_R -    gmtime_r(timePtr, &(tsdPtr->gmtime_buf)); +    gmtime_r(timePtr, &tsdPtr->gmtime_buf);  #else      Tcl_MutexLock(&tmMutex); -    memcpy(&(tsdPtr->gmtime_buf), gmtime(timePtr), sizeof(struct tm)); +    memcpy(&tsdPtr->gmtime_buf, gmtime(timePtr), sizeof(struct tm));      Tcl_MutexUnlock(&tmMutex);  #endif -    return &(tsdPtr->gmtime_buf); +    return &tsdPtr->gmtime_buf;  }  /* @@ -475,14 +475,14 @@ TclpLocaltime(      SetTZIfNecessary();  #ifdef HAVE_LOCALTIME_R -    localtime_r(timePtr, &(tsdPtr->localtime_buf)); +    localtime_r(timePtr, &tsdPtr->localtime_buf);  #else      Tcl_MutexLock(&tmMutex); -    memcpy(&(tsdPtr->localtime_buf), localtime(timePtr), sizeof(struct tm)); +    memcpy(&tsdPtr->localtime_buf, localtime(timePtr), sizeof(struct tm));      Tcl_MutexUnlock(&tmMutex);  #endif -    return &(tsdPtr->localtime_buf); +    return &tsdPtr->localtime_buf;  }  /*   * Forwarder for obsolete item in Stubs  | 
