Index: /branches/eam_branches/ohana.20160226/src/relphot/src/GridOps.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/GridOps.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/GridOps.c	(revision 39420)
@@ -38,4 +38,6 @@
 
 void initGrid (int dX, int dY) {
+  OHANA_UNUSED_PARAM(dX);
+  OHANA_UNUSED_PARAM(dY);
 
   int i, N, ccdnum_max, refX, refY, refBin;
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/ImageOps.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/ImageOps.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/ImageOps.c	(revision 39420)
@@ -413,4 +413,6 @@
 // NOTE: static flat-field component is included in measure.Mflat
 float getMcal (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i;
@@ -437,4 +439,7 @@
 // NOTE: static flat-field component is included in measure.Mflat
 float getMcal_alt (off_t meas, int cat, FlatCorrectionTable *flatcorr, float Xccd, float Yccd) {
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(Xccd);
+  OHANA_UNUSED_PARAM(Yccd);
 
   off_t i;
@@ -562,4 +567,5 @@
 
 float getMflat (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
+  OHANA_UNUSED_PARAM(flatcorr);
 
   off_t i = MeasureToImage[cat][meas];
@@ -842,4 +848,6 @@
 static int setMcal_init_done = FALSE;
 void plot_setMcal (double *list, int Npts, StatType *stats, float clouds) {
+  OHANA_UNUSED_PARAM(stats);
+  OHANA_UNUSED_PARAM(clouds);
 
   off_t i;
@@ -1023,4 +1031,5 @@
 
 StatType statsImageX (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1055,4 +1064,5 @@
 
 StatType statsImageM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1087,4 +1097,5 @@
 
 StatType statsImagedM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/MosaicOps.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/MosaicOps.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/MosaicOps.c	(revision 39420)
@@ -501,4 +501,5 @@
 
 void setMosaicCenters (Image *image, off_t Nimage) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   /* find max dR, dD range for all mosaics */
@@ -596,4 +597,5 @@
 
 void initMosaicGrid (Image *image, off_t Nimage) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   /* find max dR, dD range for all mosaics */
@@ -1580,4 +1582,5 @@
 
 StatType statsMosaicM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i;
@@ -1612,4 +1615,5 @@
 
 StatType statsMosaicdM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1692,4 +1696,5 @@
 
 StatType statsMosaicX (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/StarOps.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/StarOps.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/StarOps.c	(revision 39420)
@@ -443,4 +443,10 @@
 // NOTE: here 'catalog' is a pointer to a specific catalog, not the root of the array
 int setMrel_catalog (Catalog *catalog, int Nc, int pass, FlatCorrectionTable *flatcorr, SetMrelInfo *results, int Nsecfilt) {
+  OHANA_UNUSED_PARAM(catalog);
+  OHANA_UNUSED_PARAM(Nc);
+  OHANA_UNUSED_PARAM(pass);
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(results);
+  OHANA_UNUSED_PARAM(Nsecfilt);
 
   fprintf (stderr, "??? should you still be using the old version of setMrel_catalog??\n");
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/plotstuff.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/plotstuff.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/plotstuff.c	(revision 39420)
@@ -52,4 +52,5 @@
 
 void JpegPlot (Graphdata *graphmode, int N, char *filename) {
+  OHANA_UNUSED_PARAM(graphmode);
 
   if (Xgraph[N] == 0) return;
@@ -60,4 +61,5 @@
 
 void PSPlot (Graphdata *graphmode, int N, char *filename) {
+  OHANA_UNUSED_PARAM(graphmode);
 
   if (Xgraph[N] == 0) return;
@@ -93,4 +95,5 @@
 
 void PlotVector (int Npts, double *vect, int mode, int N, char *type) {
+  OHANA_UNUSED_PARAM(mode);
 
   float *values;
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/setMrelCatalog.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/setMrelCatalog.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/setMrelCatalog.c	(revision 39420)
@@ -719,4 +719,5 @@
 // analysis is done on flux, not mags (as the faintest objects will be nearly insignificant)
 int setMrelAverageForcedWarp (Catalog *catalog, int cat, off_t ave, int Nsecfilt, FlatCorrectionTable *flatcorr, SetMrelInfo *results) {
+  OHANA_UNUSED_PARAM(flatcorr);
 
   // we are guaranteed to have average, measure, secfilt
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/share_mean_mags.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/share_mean_mags.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/share_mean_mags.c	(revision 39420)
@@ -64,4 +64,5 @@
 
 int slurp_mean_mags (Catalog *catalog, int Ncatalog, RegionHostTable *regionHosts, int nloop) {
+  OHANA_UNUSED_PARAM(Ncatalog);
 
   off_t i;
Index: /branches/eam_branches/ohana.20160226/src/relphot/src/synthetic_mags.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relphot/src/synthetic_mags.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/relphot/src/synthetic_mags.c	(revision 39420)
@@ -18,4 +18,5 @@
 
 int add_synthetic_mags (AverageTiny *average, SecFilt *secfilt, MeasureTiny *measure, off_t *Nmeasure, off_t *Nm) {
+  OHANA_UNUSED_PARAM(average);
 
   if (!SyntheticPhotometry) return TRUE;
Index: /branches/eam_branches/ohana.20160226/src/skycalc/src/astro.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/skycalc/src/astro.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/skycalc/src/astro.c	(revision 39420)
@@ -1,3 +1,4 @@
 # include <skycalc_internal.h>
+# define UNUSED_PARAM(x)(void)(x)
 
 /* Takes a coordinate pair and precesses it using matrix procedures
@@ -104,4 +105,5 @@
    equatorial (all assumed of date.) */
 void SC_eclrot(double jd, double *x, double *y, double *z) {
+  UNUSED_PARAM(x);
 
   double incl;
@@ -112,30 +114,30 @@
 
   incl = (23.439291 + T * (-0.0130042 - 0.00000016 * T))/DEG_IN_RADIAN;
-  /* 1992 Astron Almanac, p. B18, dropping the
-     cubic term, which is 2 milli-arcsec! */
+/* 1992 Astron Almanac, p. B18, dropping the
+   cubic term, which is 2 milli-arcsec! */
   ypr = cos(incl) * *y - sin(incl) * *z;
   zpr = sin(incl) * *y + cos(incl) * *z;
   *y = ypr;
   *z = zpr;
-  /* x remains the same. */
+/* x remains the same. */
 }
 
 /* Given a julian date in 1900-2100, returns the correction
-     delta t which is:
-     TDT - UT (after 1983 and before 1993)
-     ET - UT (before 1983)
-     an extrapolated guess  (after 1993).
+   delta t which is:
+   TDT - UT (after 1983 and before 1993)
+   ET - UT (before 1983)
+   an extrapolated guess  (after 1993).
 
-     For dates in the past (<= 1993) the value is linearly
-     interpolated on 5-year intervals; for dates after the present,
-     an extrapolation is used, because the true value of delta t
-     cannot be predicted precisely.  Note that TDT is essentially the
-     modern version of ephemeris time with a slightly cleaner
-     definition.
+   For dates in the past (<= 1993) the value is linearly
+   interpolated on 5-year intervals; for dates after the present,
+   an extrapolation is used, because the true value of delta t
+   cannot be predicted precisely.  Note that TDT is essentially the
+   modern version of ephemeris time with a slightly cleaner
+   definition.
 
-     Where the algorithm shifts there is an approximately 0.1 second
-     discontinuity.  Also, the 5-year linear interpolation scheme can
-     lead to errors as large as 0.5 seconds in some cases, though
-     usually rather smaller. */
+   Where the algorithm shifts there is an approximately 0.1 second
+   discontinuity.  Also, the 5-year linear interpolation scheme can
+   lead to errors as large as 0.5 seconds in some cases, though
+   usually rather smaller. */
 
 double SC_etcorr (double jd) {
Index: /branches/eam_branches/ohana.20160226/src/tools/src/list_astro.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/tools/src/list_astro.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/tools/src/list_astro.c	(revision 39420)
@@ -2,4 +2,5 @@
 
 int main (int argc, char **argv) {
+  OHANA_UNUSED_PARAM(argv);
 
   float *ra1, *ra2, *dec1, *dec2;
Index: /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setphot.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setphot.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setphot.c	(revision 39420)
@@ -2,4 +2,5 @@
 
 void update_catalog_setphot (Catalog *catalog, Image *image, off_t *index, off_t Nimage, CamPhotomCorrection *camcorr) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   off_t i, found;
Index: /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setposangle.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setposangle.c	(revision 39419)
+++ /branches/eam_branches/ohana.20160226/src/uniphot/src/update_catalog_setposangle.c	(revision 39420)
@@ -2,4 +2,5 @@
 
 void update_catalog_setposangle (Catalog *catalog, ImageSubset *image, off_t *index, off_t Nimage) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   float posAngle, pltScale;
