head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1;
locks; strict;
comment	@# @;


1.1
date	99.12.22.21.38.13;	author jmz;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Obey  the CFLAGS settings.
fix time_t declarations.

Submitted by:	Pedro F. Giffuni <pfgiffun@@bachue.usc.unal.edu.co>
@
text
@*** src/p2clib.c.orig	Wed Dec 15 14:38:38 1999
--- src/p2clib.c	Wed Dec 15 14:42:12 1999
***************
*** 890,896 ****
  {
  #ifndef NO_TIME
      struct tm *tm;
!     long clock;
  
      time(&clock);
      tm = localtime(&clock);
--- 890,896 ----
  {
  #ifndef NO_TIME
      struct tm *tm;
!     time_t clock;
  
      time(&clock);
      tm = localtime(&clock);
***************
*** 908,914 ****
  Void VAXdate(s)
  char *s;
  {
!     long clock;
      char *c;
      int i;
      static int where[] = {8, 9, 0, 4, 5, 6, 0, 20, 21, 22, 23};
--- 908,914 ----
  Void VAXdate(s)
  char *s;
  {
!     time_t clock;
      char *c;
      int i;
      static int where[] = {8, 9, 0, 4, 5, 6, 0, 20, 21, 22, 23};
***************
*** 924,930 ****
  Void VAXtime(s)
  char *s;
  {
!     long clock;
      char *c;
      int i;
  
--- 924,930 ----
  Void VAXtime(s)
  char *s;
  {
!     time_t clock;
      char *c;
      int i;
  
*** src/trans.c.orig	Wed Dec 15 14:33:23 1999
--- src/trans.c	Wed Dec 15 14:44:29 1999
***************
*** 575,581 ****
  # endif
  #endif
  
! Static long starting_time;
  
  Static void openlogfile()
  {
--- 575,581 ----
  # endif
  #endif
  
! Static time_t starting_time;
  
  Static void openlogfile()
  {
***************
*** 608,614 ****
  
  void closelogfile()
  {
!     long ending_time;
  
      if (logf) {
  	fprintf(logf, "\n\n");
--- 608,614 ----
  
  void closelogfile()
  {
!     time_t ending_time;
  
      if (logf) {
  	fprintf(logf, "\n\n");
*** src/makeproto.c.orig	Wed Dec 15 15:00:46 1999
--- src/makeproto.c	Wed Dec 15 15:01:58 1999
***************
*** 157,163 ****
      char argdecls[MAXARGS][256], argnames[MAXARGS][80];
      char *cp, *cp2, *cp3;
      int i, j, pos, len, thistab, numstars, whichf, nargs, incomment, errors = 0;
!     long li;
      int typetab = 15, argtab = 30, width = 80, usenames = 0, usemacros = 0;
      int useextern = 0, staticness = -1, hasheader = 0, useifdefs = 0;
      int stupid = 1, firstdecl;
--- 157,163 ----
      char argdecls[MAXARGS][256], argnames[MAXARGS][80];
      char *cp, *cp2, *cp3;
      int i, j, pos, len, thistab, numstars, whichf, nargs, incomment, errors = 0;
!     time_t li;
      int typetab = 15, argtab = 30, width = 80, usenames = 0, usemacros = 0;
      int useextern = 0, staticness = -1, hasheader = 0, useifdefs = 0;
      int stupid = 1, firstdecl;

@
