Index: trunk/ppSim/src/ppSim.h
===================================================================
--- trunk/ppSim/src/ppSim.h	(revision 23465)
+++ trunk/ppSim/src/ppSim.h	(revision 23487)
@@ -67,6 +67,6 @@
 } ppSimGalaxy;
 
-ppSimStar *ppSimStarAlloc ();
-ppSimGalaxy *ppSimGalaxyAlloc ();
+ppSimStar *ppSimStarAlloc(void);
+ppSimGalaxy *ppSimGalaxyAlloc(void);
 
 /// Parse command-line arguments
@@ -136,6 +136,6 @@
 
 // add a bad CTE region
-bool ppSimBadCTE(psImage *image,	// Signal image, modified and returned
-		 const pmConfig *config // configuration
+bool ppSimBadCTE(psImage *image,        // Signal image, modified and returned
+                 const pmConfig *config // configuration
   );
 
@@ -189,5 +189,5 @@
 double ppSimRandomGaussian (const psRandom *rnd, double mean, double sigma);
 double ppSimRandomGaussianNorm (const psRandom *rnd);
-void ppSimRandomGaussianFree();
+void ppSimRandomGaussianFree(void);
 
 bool ppSimPhotomFiles (pmConfig *config, pmFPAfile *fakeFile, pmFPAfile *forceFile);
Index: trunk/ppSim/src/ppSimRandomGaussian.c
===================================================================
--- trunk/ppSim/src/ppSimRandomGaussian.c	(revision 23465)
+++ trunk/ppSim/src/ppSimRandomGaussian.c	(revision 23487)
@@ -29,11 +29,11 @@
 
 /* integrate a gaussian from -5 sigma to +5 sigma */
-void p_ppSimRandomGaussianInit () {
- 
+void p_ppSimRandomGaussianInit (void) {
+
   int i;
   long A, B;
   double val, x, dx, dx1, dx2, dx3, df;
   double mean, sigma;
- 
+
   /* no need to generate this if it already exists */
   if (gaussint) return;
@@ -42,5 +42,5 @@
   for (B = 0; A == time(NULL); B++);
   srand48(B);
- 
+
   Ngaussint = 0x1000;
   ppSimRandomGaussianAlloc (Ngaussint + 1);
@@ -53,9 +53,9 @@
   mean = 0.0;
   sigma = 1.0;
- 
+
   for (i = 0, x = -7.0; (i < Ngaussint) && (x < 7.0); x += dx)  {
-    df = (3.0*p_ppSimGaussian(x    , mean, sigma) + 
+    df = (3.0*p_ppSimGaussian(x    , mean, sigma) +
           9.0*p_ppSimGaussian(x+dx1, mean, sigma) +
-          9.0*p_ppSimGaussian(x+dx2, mean, sigma) + 
+          9.0*p_ppSimGaussian(x+dx2, mean, sigma) +
           3.0*p_ppSimGaussian(x+dx3, mean, sigma)) * (dx1/8.0);
     val += df;
@@ -67,10 +67,10 @@
 }
 
-// XXX we are using drand48() rather than the random var supplied by rnd 
+// XXX we are using drand48() rather than the random var supplied by rnd
 double ppSimRandomGaussian (const psRandom *rnd, double mean, double sigma) {
- 
+
   int i;
   double y;
- 
+
   if (gaussint == NULL) {
       p_ppSimRandomGaussianInit ();
@@ -80,15 +80,15 @@
   i = Ngaussint*y;
   y = gaussint[i]*sigma + mean;
- 
+
   return (y);
- 
+
 }
- 
-// XXX we are using drand48() rather than the random var supplied by rnd 
+
+// XXX we are using drand48() rather than the random var supplied by rnd
 double ppSimRandomGaussianNorm (const psRandom *rnd) {
- 
+
   int i;
   double y;
- 
+
   if (gaussint == NULL) {
       p_ppSimRandomGaussianInit ();
@@ -98,5 +98,5 @@
   i = Ngaussint*y;
   y = gaussint[i];
- 
+
   return (y);
 }
Index: trunk/ppSim/src/ppSimStars.c
===================================================================
--- trunk/ppSim/src/ppSimStars.c	(revision 23465)
+++ trunk/ppSim/src/ppSimStars.c	(revision 23487)
@@ -6,5 +6,5 @@
 }
 
-ppSimStar *ppSimStarAlloc () {
+ppSimStar *ppSimStarAlloc(void) {
 
     ppSimStar *star = (ppSimStar *) psAlloc(sizeof(ppSimStar));
@@ -19,5 +19,5 @@
 }
 
-ppSimGalaxy *ppSimGalaxyAlloc () {
+ppSimGalaxy *ppSimGalaxyAlloc(void) {
 
     ppSimGalaxy *galaxy = (ppSimGalaxy *) psAlloc(sizeof(ppSimGalaxy));
