Index: trunk/Ohana/src/relphot/include/relphot.h
===================================================================
--- trunk/Ohana/src/relphot/include/relphot.h	(revision 41555)
+++ trunk/Ohana/src/relphot/include/relphot.h	(revision 41556)
@@ -643,7 +643,7 @@
 int           setMcalOutput       PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
 
-void          setMcal             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
-int           setMmos             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
-int           setMgrp             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
+void          setMcal             PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
+int           setMmos             PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
+int           setMgrp             PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
 
 int           setMrel             PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
@@ -841,6 +841,4 @@
 void RepairWarpMeasuresCloseLogfile ();
 
-int save_images_backup (FITS_DB *db);
-
 void dump_tgroups (Catalog *catalog, int Npass);
 void dump_catalog (Catalog *catalog, off_t c, int Npass);
@@ -853,2 +851,7 @@
 int UseStandardOLS (ZptFitModeType mode);
 int GetActivePhotcodeIndex (int photcode);
+
+int save_images_backup (FITS_DB *db);
+int save_images_updates (FITS_DB *db);
+
+int MagResidSave(char *filename, Catalog *catalog);
