HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lisp/emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
[bpt/emacs.git]
/
lib-src
/
profile.c
diff --git
a/lib-src/profile.c
b/lib-src/profile.c
index
a1ddf24
..
086d8cc
100644
(file)
--- a/
lib-src/profile.c
+++ b/
lib-src/profile.c
@@
-1,6
+1,5
@@
/* profile.c --- generate periodic events for profiling of Emacs Lisp code.
/* profile.c --- generate periodic events for profiling of Emacs Lisp code.
- Copyright (C) 1992, 1994, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1994, 1999, 2001-2011 Free Software Foundation, Inc.
Author: Boaz Ben-Zvi <boaz@lcs.mit.edu>
Author: Boaz Ben-Zvi <boaz@lcs.mit.edu>
@@
-39,7
+38,7
@@
static char time_string[30];
/* Reset the stopwatch to zero. */
/* Reset the stopwatch to zero. */
-void
+
static
void
reset_watch (void)
{
EMACS_GET_TIME (TV1);
reset_watch (void)
{
EMACS_GET_TIME (TV1);
@@
-50,7
+49,7
@@
reset_watch (void)
is returned as a string with the format <seconds>.<micro-seconds>
If reset_watch was not called yet, exit. */
is returned as a string with the format <seconds>.<micro-seconds>
If reset_watch was not called yet, exit. */
-char *
+
static
char *
get_time (void)
{
if (watch_not_started)
get_time (void)
{
if (watch_not_started)