]> code.delx.au - gnu-emacs/blobdiff - lib-src/profile.c
2002-08-04 Andrew Choi <akochoi@shaw.ca>
[gnu-emacs] / lib-src / profile.c
index 2b27ce061190fb19cc6a0250dc8ea96e209737b0..e2fa4793b63792c7dae20acc82569ef11e3fb948 100644 (file)
@@ -1,5 +1,5 @@
 /* profile.c --- generate periodic events for profiling of Emacs Lisp code.
- Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
 
  Author: Boaz Ben-Zvi <boaz@lcs.mit.edu>
 
@@ -30,9 +30,9 @@ Boston, MA 02111-1307, USA.  */
  **  abstraction : a stopwatch
  **  operations: reset_watch, get_time
  */
+#include <config.h>
 #include <stdio.h>
-#include <../src/config.h>
-#include <../src/systime.h>
+#include <systime.h>
 
 static EMACS_TIME TV1, TV2;
 static int watch_not_started = 1; /* flag */
@@ -63,7 +63,7 @@ get_time ()
 }
 
 #if ! defined (HAVE_GETTIMEOFDAY) && defined (HAVE_TIMEVAL)
+
 /* ARGSUSED */
 gettimeofday (tp, tzp)
      struct timeval *tp;
@@ -71,12 +71,12 @@ gettimeofday (tp, tzp)
 {
   extern long time ();
 
-  tp->tv_sec = time ((long *)0);    
+  tp->tv_sec = time ((long *)0);
   tp->tv_usec = 0;
   if (tzp != 0)
     tzp->tz_minuteswest = -1;
 }
+
 #endif
 \f
 int