home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / include / os5 / sys.time.h.patch < prev   
Encoding:
Text File  |  1995-06-30  |  1.3 KB  |  50 lines

  1. *** /usr/include/sys/time.h    Tue May  2 09:54:54 1995
  2. --- time.h    Thu Jun 29 23:09:54 1995
  3. ***************
  4. *** 1,9 ****
  5.   #ifndef _SYS_TIME_H_
  6.   #define _SYS_TIME_H_
  7.   #ifdef __STDC__
  8. ! #pragma comment(exestr, "@(#) time.h 25.3 94/09/22 ")
  9.   #else
  10. ! #ident "@(#) time.h 25.3 94/09/22 "
  11.   #endif
  12.   /*
  13.    *    Copyright (C) 1993-1994 The Santa Cruz Operation, Inc.
  14. --- 1,17 ----
  15. + /*
  16. +  *    UNOFFICIAL corrections applied by Tom Kelly (tom@sco.com).
  17. +  *    USE AT YOUR OWN RISK.  MAY CAUSE CHANGES IN THE WEATHER.
  18. +  *
  19. +  *    DO NOT REPLACE /usr/include/sys/time.h WITH THIS FILE.
  20. +  *    YOU *WILL* REGRET IT.
  21. +  */
  22.   #ifndef _SYS_TIME_H_
  23.   #define _SYS_TIME_H_
  24.   #ifdef __STDC__
  25. ! #pragma comment(exestr, "@(#) time.h 25.3 94/09/22 SKUNKWARE 5 VERSION (tom)")
  26.   #else
  27. ! #ident "@(#) time.h 25.3 94/09/22 SKUNKWARE 5 VERSION (tom)"
  28.   #endif
  29.   /*
  30.    *    Copyright (C) 1993-1994 The Santa Cruz Operation, Inc.
  31. ***************
  32. *** 57,65 ****
  33. --- 65,79 ----
  34.   
  35.   #if !defined(_INKERNEL)
  36.   #   if defined(__STDC__) && !defined(_NO_PROTOTYPE)
  37. + #ifdef __cplusplus
  38. + extern "C" {
  39. + #endif
  40.   extern int    adjtime (struct timeval *, struct timeval *);
  41.   extern int    gettimeofday (struct timeval *, struct timezone *);
  42.   extern int    settimeofday (struct timeval *, struct timezone *);
  43. + #ifdef __cplusplus
  44. + }
  45. + #endif
  46.   #   else
  47.   extern int    adjtime ();
  48.   extern int    gettimeofday ();
  49.