diff TOOLS/realcodecs/cook.c @ 28232:8df85ad26746

Add missing 'void' keyword to parameterless function declarations.
author diego
date Mon, 05 Jan 2009 14:48:03 +0000
parents 3f3f00ce912e
children 0f1b5b68af32
line wrap: on
line diff
--- a/TOOLS/realcodecs/cook.c	Mon Jan 05 12:50:53 2009 +0000
+++ b/TOOLS/realcodecs/cook.c	Mon Jan 05 14:48:03 2009 +0000
@@ -56,7 +56,7 @@
 void *handle=NULL;
 
 /* exits program when failure */
-void loadSyms() {
+void loadSyms(void) {
 	fputs("loadSyms()\n", stderr);
 	if (!b_dlOpened) {
 		char *error;
@@ -147,7 +147,7 @@
 	}
 }
 
-void closeDll() {
+void closeDll(void) {
 	if (handle) {
 		b_dlOpened=0;
 		dlclose(handle);
@@ -162,11 +162,11 @@
 struct timezone tz;
 struct timeval tv1, tv2;
 
-void tic() {
+void tic(void) {
 	gettimeofday(&tv1, &tz);
 }
 
-void toc() {
+void toc(void) {
 	long secs, usecs;
 	gettimeofday(&tv2, &tz);
 	secs=tv2.tv_sec-tv1.tv_sec;