Index: trunk/psphot/src/find_defects.c
===================================================================
--- trunk/psphot/src/find_defects.c	(revision 4188)
+++ trunk/psphot/src/find_defects.c	(revision 4251)
@@ -1,6 +1,4 @@
 # include "psphot.h"
 # define NSIGMA 3.0
-
-void dump_image (psImage *image, char *filename);
 
 bool find_defects (psImage *zapmask, psArray *sources, psMetadata *config, pmPSF *psf) 
@@ -34,5 +32,5 @@
   // generate the image flux
   pmSourceAddModel (flux, NULL, model, true);
-  dump_image (flux, "psf.fits");
+  DumpImage (flux, "psf.fits");
 
   fprintf (stderr, "sx: %f, sy: %f\n", model->params->data.F32[4], model->params->data.F32[5]);
