diff lib-src/profile.c @ 109111:52b76722152a

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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 02 Jul 2010 17:50:23 -0700
parents 1d1d5d9bd884
children 417b1e4d63cd
line wrap: on
line diff
--- a/lib-src/profile.c	Sat Jul 03 01:35:09 2010 +0300
+++ b/lib-src/profile.c	Fri Jul 02 17:50:23 2010 -0700
@@ -40,7 +40,7 @@
 /* Reset the stopwatch to zero.  */
 
 void
-reset_watch ()
+reset_watch (void)
 {
   EMACS_GET_TIME (TV1);
   watch_not_started = 0;
@@ -51,7 +51,7 @@
    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 @@
 #endif
 
 int
-main ()
+main (void)
 {
   int c;
   while ((c = getchar ()) != EOF)