[Commits] [svn:einsteintoolkit] HydroBase/trunk/src/ (Rev. 37)

roland.haas at physics.gatech.edu roland.haas at physics.gatech.edu
Mon Feb 21 09:49:07 CST 2011


User: rhaas
Date: 2011/02/21 09:49 AM

Modified:
 /trunk/src/
  StartUp.c

Log:
 declare argument list of HydroBase_StartUp as (void)
 
   otherwise C (both C89 and C99) assume that it is as being and old K&R style
   function definition (C differs from C++ here)

File Changes:

Directory: /trunk/src/
======================

File [modified]: StartUp.c
Delta lines: +1 -1
===================================================================
--- trunk/src/StartUp.c	2011-02-04 14:23:52 UTC (rev 36)
+++ trunk/src/StartUp.c	2011-02-21 15:49:06 UTC (rev 37)
@@ -1,6 +1,6 @@
 #include <cctk.h>
 
-int HydroBase_StartUp()
+int HydroBase_StartUp(void)
 {
     CCTK_RegisterBanner("HydroBase: Let it flow.");
 



More information about the Commits mailing list