Index: trunk/ppSim/src/ppSimAddNoise.c
===================================================================
--- trunk/ppSim/src/ppSimAddNoise.c	(revision 14463)
+++ trunk/ppSim/src/ppSimAddNoise.c	(revision 14657)
@@ -2,9 +2,9 @@
 
 // Add noise to an image
-psImage *ppSimAddNoise(psImage *signal, // Signal image, modified and returned
-		       const psImage *variance, // Variance image
-		       const pmConfig *config,		       
-		       const pmCell *cell,
-		       const psRandom *rng // Random number generator
+bool ppSimAddNoise(psImage *signal, // Signal image, modified and returned
+		   psImage *variance,
+		   const pmCell *cell,
+		   const pmConfig *config,		       
+		   const psRandom *rng // Random number generator
     )
 {
@@ -22,5 +22,5 @@
 	if (!mdok) {
 	    psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Unable to find GAIN in recipe.");
-	    return NULL;
+	    return false;
 	}
     }
@@ -38,5 +38,5 @@
 
     // XXX why return this??
-    return signal;
+    return true;
 }
 
