summaryrefslogtreecommitdiff
path: root/lib-src/profile.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-07-02 17:50:23 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-07-02 17:50:23 -0700
commit873fbd0b84997863af25e3ddae23b6c078a3e6f5 (patch)
treec128a27ee29666a3d1acb584bc5eab96a047e067 /lib-src/profile.c
parenta6ed0e289873ac982d7a9b0215d17a4626375b43 (diff)
downloademacs-873fbd0b84997863af25e3ddae23b6c078a3e6f5.tar.gz
Convert function definitions to standard C.
* lib-src/update-game-score.c: Convert function definitions to standard C. * lib-src/sorted-doc.c: * lib-src/profile.c: * lib-src/pop.c: * lib-src/movemail.c: * lib-src/make-docfile.c: * lib-src/hexl.c: * lib-src/fakemail.c: * lib-src/etags.c: * lib-src/ebrowse.c: * lib-src/digest-doc.c: * lib-src/b2m.c: Likewise.
Diffstat (limited to 'lib-src/profile.c')
-rw-r--r--lib-src/profile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/profile.c b/lib-src/profile.c
index 0347350a799..37653e63c49 100644
--- a/lib-src/profile.c
+++ b/lib-src/profile.c
@@ -40,7 +40,7 @@ static char time_string[30];
/* Reset the stopwatch to zero. */
void
-reset_watch ()
+reset_watch (void)
{
EMACS_GET_TIME (TV1);
watch_not_started = 0;
@@ -51,7 +51,7 @@ reset_watch ()
If reset_watch was not called yet, exit. */
char *
-get_time ()
+get_time (void)
{
if (watch_not_started)
exit (EXIT_FAILURE); /* call reset_watch first ! */
@@ -79,7 +79,7 @@ gettimeofday (tp, tzp)
#endif
int
-main ()
+main (void)
{
int c;
while ((c = getchar ()) != EOF)