Index: branches/eam_branches/relphot.20210521/include/relphot.h
===================================================================
--- branches/eam_branches/relphot.20210521/include/relphot.h	(revision 41615)
+++ branches/eam_branches/relphot.20210521/include/relphot.h	(revision 41620)
@@ -442,4 +442,5 @@
 int    RESET;
 int    RESET_ZEROPTS;
+int    RESET_FLATCORR;
 int    REPAIR_WARPS;
 int    PRESERVE_PS1;
@@ -578,7 +579,7 @@
 ImageSubset  *getimages_subset    PROTO((off_t *N));
 void          global_stats        PROTO((Catalog *catalog, int Ncatalog, int nloop));
-void          initGrid            PROTO(());
+void          initGrid            PROTO((void));
 void          setMflatFromGrid    PROTO((Catalog *catalog));
-void          initGridBins        PROTO(());
+void          initGridBins        PROTO((void));
 GridCorrectionType *getGridCorrByCode PROTO((int code));
 GridCorrectionType *getGridCorrNext   PROTO((int *Nlast));
@@ -749,5 +750,5 @@
 StatDataSet *StatDataSetAlloc (int Nsecfilt, int Nmax);
 
-int init_synthetic_mags ();
+int init_synthetic_mags (void);
 int add_synthetic_mags (AverageTiny *average, SecFilt *secfilt, MeasureTiny *measure, off_t *Nmeasure, off_t *Nm);
 
@@ -810,5 +811,5 @@
 
 int SynthZeroPointsLoad (char *filename);
-SynthZeroPoints *SynthZeroPointsGet ();
+SynthZeroPoints *SynthZeroPointsGet (void);
 
 int relphot_synthphot (SkyList *sky, int hostID, char *hostpath);
@@ -829,5 +830,5 @@
 
 void put_astrom_table (AstromOffsetTable *myTable);
-void free_astrom_table ();
+void free_astrom_table (void);
 
 uint64_t CreatePSPSObjectID(double ra, double dec);
@@ -852,2 +853,10 @@
 
 int MagResidSave(char *filename, Catalog *catalog);
+
+void ResetAverageAndMeasure (Catalog *catalog);
+void ResetAverageObjects (Catalog *catalog);
+void ResetImages (Image *subset, off_t Nsubset);
+void ResetMeasureZeroPoints (MeasureTiny *measure, off_t Nmeasure, off_t Ncat);
+void ResetAverageActivePhotcodes (SecFilt *secfilt);
+
+
