Index: /trunk/ippTools/src/pxerrors.c
===================================================================
--- /trunk/ippTools/src/pxerrors.c	(revision 23486)
+++ /trunk/ippTools/src/pxerrors.c	(revision 23487)
@@ -24,5 +24,5 @@
 #include "pxtools.h"
 
-psExit pxerrorGetExitStatus () {
+psExit pxerrorGetExitStatus(void) {
 
     psErrorCode err = psErrorCodeLast ();
@@ -38,5 +38,5 @@
       default:
     return PS_EXIT_UNKNOWN_ERROR;
-    }    
+    }
     return PS_EXIT_UNKNOWN_ERROR;
 }
Index: /trunk/ippTools/src/pxtools.h
===================================================================
--- /trunk/ippTools/src/pxtools.h	(revision 23486)
+++ /trunk/ippTools/src/pxtools.h	(revision 23487)
@@ -53,5 +53,5 @@
 bool pxSetFaultCode(psDB *dbh, const char *tableName, psMetadata *where, psS16 code);
 
-psExit pxerrorGetExitStatus ();
+psExit pxerrorGetExitStatus(void);
 
 void pxUsage(FILE *stream, int argc, char **argv, const char *modeName, psMetadata *argSet);
@@ -303,5 +303,5 @@
 #define PXOPT_ADD_WHERE_BOOL(name) \
 { \
-    bool value = false;	 \
+    bool value = false;  \
     bool status = false; \
     if ((value = psMetadataLookupBool(&status, config->args, "-" #name))) { \
@@ -370,9 +370,9 @@
 }
 
-#define PXOPT_ADD_WHERE_BOOL_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_BOOL_ALIAS(flag,name)   \
 { \
     bool value = 0; \
     bool status = false; \
-    if ((value = psMetadataLookupBool(&status, config->args, flag))) {	\
+    if ((value = psMetadataLookupBool(&status, config->args, flag))) {  \
         if (!psMetadataAddBOOL(config->where, PS_LIST_TAIL, name, 0, "==", value)) { \
             psError(PS_ERR_UNKNOWN, false, "failed to add item %s", flag); \
@@ -383,9 +383,9 @@
 }
 
-#define PXOPT_ADD_WHERE_S16_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_S16_ALIAS(flag,name)    \
 { \
     psS16 s16 = 0; \
     bool status = false; \
-    if ((s16= psMetadataLookupS16(&status, config->args, flag))) {	\
+    if ((s16= psMetadataLookupS16(&status, config->args, flag))) {      \
         if (!psMetadataAddS16(config->where, PS_LIST_TAIL, name, 0, "==", s16)) { \
             psError(PS_ERR_UNKNOWN, false, "failed to add item %s", flag); \
@@ -396,9 +396,9 @@
 }
 
-#define PXOPT_ADD_WHERE_S32_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_S32_ALIAS(flag,name)    \
 { \
     psS32 s32 = 0; \
     bool status = false; \
-    if ((s32= psMetadataLookupS32(&status, config->args, flag))) {	\
+    if ((s32= psMetadataLookupS32(&status, config->args, flag))) {      \
         if (!psMetadataAddS32(config->where, PS_LIST_TAIL, name, 0, "==", s32)) { \
             psError(PS_ERR_UNKNOWN, false, "failed to add item %s", flag); \
@@ -409,9 +409,9 @@
 }
 
-#define PXOPT_ADD_WHERE_S64_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_S64_ALIAS(flag,name)    \
 { \
     psS64 s64 = 0; \
     bool status = false; \
-    if ((s64= psMetadataLookupS64(&status, config->args, flag))) {	\
+    if ((s64= psMetadataLookupS64(&status, config->args, flag))) {      \
         if (!psMetadataAddS64(config->where, PS_LIST_TAIL, name, 0, "==", s64)) { \
             psError(PS_ERR_UNKNOWN, false, "failed to add item %s", flag); \
@@ -422,9 +422,9 @@
 }
 
-#define PXOPT_ADD_WHERE_F32_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_F32_ALIAS(flag,name)    \
 { \
     psF32 var = 0; \
     bool status = false; \
-    if ((var = psMetadataLookupF32(&status, config->args, flag))) {	\
+    if ((var = psMetadataLookupF32(&status, config->args, flag))) {     \
         if (!isnan(var))  { \
             if (!psMetadataAddF32(config->where, PS_LIST_TAIL, name, 0, "==", var)) { \
@@ -437,9 +437,9 @@
 }
 
-#define PXOPT_ADD_WHERE_F64_ALIAS(flag,name)	\
+#define PXOPT_ADD_WHERE_F64_ALIAS(flag,name)    \
 { \
     psF64 var = 0; \
     bool status = false; \
-    if ((var = psMetadataLookupF64(&status, config->args, flag))) {	\
+    if ((var = psMetadataLookupF64(&status, config->args, flag))) {     \
         if (!isnan(var))  { \
             if (!psMetadataAddF64(config->where, PS_LIST_TAIL, name, 0, "==", var)) { \
Index: /trunk/magic/remove/src/streaksio.c
===================================================================
--- /trunk/magic/remove/src/streaksio.c	(revision 23486)
+++ /trunk/magic/remove/src/streaksio.c	(revision 23487)
@@ -75,5 +75,5 @@
         }
     }
-     
+
     psElemType tileType;                // Type corresponding to "long"
     if (sizeof(long) == sizeof(psS64)) {
@@ -214,5 +214,5 @@
 
         // XXX: I should probably be using a different file rule for diffs, but I don't
-        // have an input rule that takes a diff image. 
+        // have an input rule that takes a diff image.
         // Since they're skycells, this should be compatible
         sfile->pmfile = pmFPAfileDefineFromArgs(&status, config, "PPSUB.INPUT", "INPUT");
@@ -229,5 +229,5 @@
         psFree(view);
         sfile->resolved_name = psStringCopy(sfile->pmfile->filename);
-        
+
         // copy header from fpu
         sfile->header = (psMetadata*) psMemIncrRefCounter(sfile->pmfile->fpa->hdu->header);
@@ -248,5 +248,5 @@
     }
 
-    // if outputFilename is not null name it contains the "directory" 
+    // if outputFilename is not null name it contains the "directory"
     // and outputFilename is the basename name of the file (or nebulous key)
     // and the file is to be opened for writing
@@ -293,5 +293,5 @@
     bool status = psFitsMoveExtNum(sfile->fits, extnum, false);
     if (!status) {
-        psError(PS_ERR_IO, false, 
+        psError(PS_ERR_IO, false,
             "failed to move to extension %d for %s", extnum, sfile->resolved_name);
         streaksExit("", PS_EXIT_DATA_ERROR);
@@ -427,5 +427,5 @@
         return true;
     } else if (in->nHDU == 1) {
-        // no extensions in the file, can just return true? For now require 
+        // no extensions in the file, can just return true? For now require
         // at least one dimension
         int naxis =  psMetadataLookupS32(&status, in->header, "NAXIS");
@@ -524,5 +524,5 @@
     in->header = psFitsReadHeader(NULL, in->fits);
     if (!in->header) {
-        psError(PS_ERR_IO, false, "failed to read header from %s extnum: %d", 
+        psError(PS_ERR_IO, false, "failed to read header from %s extnum: %d",
             in->resolved_name, extnum);
         streaksExit("", PS_EXIT_DATA_ERROR);
@@ -541,5 +541,5 @@
         in->image = psFitsReadImage(in->fits, region, 0);
         if (!in->image) {
-            psError(PS_ERR_IO, false, "failed to read image from %s extnum: %d", 
+            psError(PS_ERR_IO, false, "failed to read image from %s extnum: %d",
                 in->resolved_name, extnum);
             streaksExit("", PS_EXIT_DATA_ERROR);
@@ -559,5 +559,5 @@
         in->imagecube = psFitsReadImageCube(in->fits, region);
         if (!in->imagecube) {
-            psError(PS_ERR_IO, false, "failed to read image cube from %s extnum: %d", 
+            psError(PS_ERR_IO, false, "failed to read image cube from %s extnum: %d",
                 in->resolved_name, extnum);
             streaksExit("", PS_EXIT_DATA_ERROR);
@@ -631,5 +631,5 @@
         // XXX abort?
         return;
-    } 
+    }
     if (!extname) {
         psWarning("extnum %d has no image and extname not defined in %s",
@@ -689,5 +689,5 @@
     }
     if (!psFitsWriteImage(sfile->fits, sfile->header, sfile->image, 0, extname)) {
-        psError(PS_ERR_IO, false, "failed to write image to %s extnum: %d", 
+        psError(PS_ERR_IO, false, "failed to write image to %s extnum: %d",
             sfile->resolved_name, extnum);
         streaksExit("", PS_EXIT_DATA_ERROR);
@@ -706,5 +706,5 @@
     }
     if (!psFitsWriteImageCube(sfile->fits, sfile->header, imagecube, extname)) {
-        psError(PS_ERR_IO, false, "failed to write image to %s extnum: %d", 
+        psError(PS_ERR_IO, false, "failed to write image to %s extnum: %d",
             sfile->resolved_name, extnum);
         streaksExit("", PS_EXIT_DATA_ERROR);
@@ -732,5 +732,5 @@
     }
     if (sfile->fits && !psFitsClose(sfile->fits)) {
-        psError(PS_ERR_IO, false, "failed to close image to %s", 
+        psError(PS_ERR_IO, false, "failed to close image to %s",
             sfile->resolved_name);
         streaksExit("", PS_EXIT_DATA_ERROR);
@@ -1030,5 +1030,5 @@
 
 void
-streaksNebulousCleanup()
+streaksNebulousCleanup(void)
 {
     nebServerFree(ourNebServer);
Index: /trunk/magic/remove/src/streaksio.h
===================================================================
--- /trunk/magic/remove/src/streaksio.h	(revision 23486)
+++ /trunk/magic/remove/src/streaksio.h	(revision 23487)
@@ -30,5 +30,5 @@
 bool swapOutputsToInputs(streakFiles *sf);
 bool deleteTemps(streakFiles *sf);
-void streaksNebulousCleanup();
+void streaksNebulousCleanup(void);
 
 #endif // STREAKS_IO_H
Index: /trunk/ppSim/src/ppSim.h
===================================================================
--- /trunk/ppSim/src/ppSim.h	(revision 23486)
+++ /trunk/ppSim/src/ppSim.h	(revision 23487)
@@ -67,6 +67,6 @@
 } ppSimGalaxy;
 
-ppSimStar *ppSimStarAlloc ();
-ppSimGalaxy *ppSimGalaxyAlloc ();
+ppSimStar *ppSimStarAlloc(void);
+ppSimGalaxy *ppSimGalaxyAlloc(void);
 
 /// Parse command-line arguments
@@ -136,6 +136,6 @@
 
 // add a bad CTE region
-bool ppSimBadCTE(psImage *image,	// Signal image, modified and returned
-		 const pmConfig *config // configuration
+bool ppSimBadCTE(psImage *image,        // Signal image, modified and returned
+                 const pmConfig *config // configuration
   );
 
@@ -189,5 +189,5 @@
 double ppSimRandomGaussian (const psRandom *rnd, double mean, double sigma);
 double ppSimRandomGaussianNorm (const psRandom *rnd);
-void ppSimRandomGaussianFree();
+void ppSimRandomGaussianFree(void);
 
 bool ppSimPhotomFiles (pmConfig *config, pmFPAfile *fakeFile, pmFPAfile *forceFile);
Index: /trunk/ppSim/src/ppSimRandomGaussian.c
===================================================================
--- /trunk/ppSim/src/ppSimRandomGaussian.c	(revision 23486)
+++ /trunk/ppSim/src/ppSimRandomGaussian.c	(revision 23487)
@@ -29,11 +29,11 @@
 
 /* integrate a gaussian from -5 sigma to +5 sigma */
-void p_ppSimRandomGaussianInit () {
- 
+void p_ppSimRandomGaussianInit (void) {
+
   int i;
   long A, B;
   double val, x, dx, dx1, dx2, dx3, df;
   double mean, sigma;
- 
+
   /* no need to generate this if it already exists */
   if (gaussint) return;
@@ -42,5 +42,5 @@
   for (B = 0; A == time(NULL); B++);
   srand48(B);
- 
+
   Ngaussint = 0x1000;
   ppSimRandomGaussianAlloc (Ngaussint + 1);
@@ -53,9 +53,9 @@
   mean = 0.0;
   sigma = 1.0;
- 
+
   for (i = 0, x = -7.0; (i < Ngaussint) && (x < 7.0); x += dx)  {
-    df = (3.0*p_ppSimGaussian(x    , mean, sigma) + 
+    df = (3.0*p_ppSimGaussian(x    , mean, sigma) +
           9.0*p_ppSimGaussian(x+dx1, mean, sigma) +
-          9.0*p_ppSimGaussian(x+dx2, mean, sigma) + 
+          9.0*p_ppSimGaussian(x+dx2, mean, sigma) +
           3.0*p_ppSimGaussian(x+dx3, mean, sigma)) * (dx1/8.0);
     val += df;
@@ -67,10 +67,10 @@
 }
 
-// XXX we are using drand48() rather than the random var supplied by rnd 
+// XXX we are using drand48() rather than the random var supplied by rnd
 double ppSimRandomGaussian (const psRandom *rnd, double mean, double sigma) {
- 
+
   int i;
   double y;
- 
+
   if (gaussint == NULL) {
       p_ppSimRandomGaussianInit ();
@@ -80,15 +80,15 @@
   i = Ngaussint*y;
   y = gaussint[i]*sigma + mean;
- 
+
   return (y);
- 
+
 }
- 
-// XXX we are using drand48() rather than the random var supplied by rnd 
+
+// XXX we are using drand48() rather than the random var supplied by rnd
 double ppSimRandomGaussianNorm (const psRandom *rnd) {
- 
+
   int i;
   double y;
- 
+
   if (gaussint == NULL) {
       p_ppSimRandomGaussianInit ();
@@ -98,5 +98,5 @@
   i = Ngaussint*y;
   y = gaussint[i];
- 
+
   return (y);
 }
Index: /trunk/ppSim/src/ppSimStars.c
===================================================================
--- /trunk/ppSim/src/ppSimStars.c	(revision 23486)
+++ /trunk/ppSim/src/ppSimStars.c	(revision 23487)
@@ -6,5 +6,5 @@
 }
 
-ppSimStar *ppSimStarAlloc () {
+ppSimStar *ppSimStarAlloc(void) {
 
     ppSimStar *star = (ppSimStar *) psAlloc(sizeof(ppSimStar));
@@ -19,5 +19,5 @@
 }
 
-ppSimGalaxy *ppSimGalaxyAlloc () {
+ppSimGalaxy *ppSimGalaxyAlloc(void) {
 
     ppSimGalaxy *galaxy = (ppSimGalaxy *) psAlloc(sizeof(ppSimGalaxy));
Index: /trunk/psModules/src/astrom/pmAstrometryDistortion.c
===================================================================
--- /trunk/psModules/src/astrom/pmAstrometryDistortion.c	(revision 23486)
+++ /trunk/psModules/src/astrom/pmAstrometryDistortion.c	(revision 23487)
@@ -40,5 +40,5 @@
 }
 
-pmAstromGradient *pmAstromGradientAlloc ()
+pmAstromGradient *pmAstromGradientAlloc (void)
 {
 
@@ -126,5 +126,5 @@
             grad = pmAstromGradientAlloc ();
 
-	    // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 7);
+            // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 7);
 
             // fit the collection of positions and offsets with a local 1st order gradient
@@ -138,5 +138,5 @@
             grad->dTPdM.x = local->coeff[0][1];
 
-	    // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 0);
+            // XXX psTraceSetLevel("psLib.math.psVectorClipFitPolynomial2D", 0);
 
             // fit the collection of positions and offsets with a local 1st order gradient
Index: /trunk/psModules/src/astrom/pmAstrometryDistortion.h
===================================================================
--- /trunk/psModules/src/astrom/pmAstrometryDistortion.h	(revision 23486)
+++ /trunk/psModules/src/astrom/pmAstrometryDistortion.h	(revision 23487)
@@ -27,5 +27,5 @@
 pmAstromGradient;
 
-pmAstromGradient *pmAstromGradientAlloc ();
+pmAstromGradient *pmAstromGradientAlloc (void);
 
 /* The following function determines the position residual, in the tangent
Index: /trunk/psModules/src/astrom/pmAstrometryVisual.c
===================================================================
--- /trunk/psModules/src/astrom/pmAstrometryVisual.c	(revision 23486)
+++ /trunk/psModules/src/astrom/pmAstrometryVisual.c	(revision 23487)
@@ -47,5 +47,5 @@
 /* Initialization Routines  */
 
-bool pmAstromVisualClose()
+bool pmAstromVisualClose(void)
 {
     if(kapa != -1)
Index: /trunk/psModules/src/astrom/pmAstrometryVisual.h
===================================================================
--- /trunk/psModules/src/astrom/pmAstrometryVisual.h	(revision 23486)
+++ /trunk/psModules/src/astrom/pmAstrometryVisual.h	(revision 23487)
@@ -26,5 +26,5 @@
 /** Close plotting windows at the end of a run
  * @return true for success */
-bool pmAstromVisualClose();
+bool pmAstromVisualClose(void);
 
 
Index: /trunk/psModules/src/camera/pmFPAfile.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfile.c	(revision 23486)
+++ /trunk/psModules/src/camera/pmFPAfile.c	(revision 23487)
@@ -58,5 +58,5 @@
 }
 
-pmFPAfile *pmFPAfileAlloc()
+pmFPAfile *pmFPAfileAlloc(void)
 {
     pmFPAfile *file = psAlloc(sizeof(pmFPAfile));
Index: /trunk/psModules/src/camera/pmFPAfile.h
===================================================================
--- /trunk/psModules/src/camera/pmFPAfile.h	(revision 23486)
+++ /trunk/psModules/src/camera/pmFPAfile.h	(revision 23487)
@@ -115,5 +115,5 @@
 
 // allocate an empty pmFPAfile structure
-pmFPAfile *pmFPAfileAlloc ();
+pmFPAfile *pmFPAfileAlloc(void);
 
 // select the readout from the named pmFPAfile; if the named file does not exist,
Index: /trunk/psModules/src/detrend/pmDetrendDB.h
===================================================================
--- /trunk/psModules/src/detrend/pmDetrendDB.h	(revision 23486)
+++ /trunk/psModules/src/detrend/pmDetrendDB.h	(revision 23487)
@@ -63,5 +63,5 @@
 
 pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(const char *camera, psTime time, pmDetrendType type);
-pmDetrendSelectResults *pmDetrendSelectResultsAlloc();
+pmDetrendSelectResults *pmDetrendSelectResultsAlloc(void);
 pmDetrendSelectResults *pmDetrendSelect (const pmDetrendSelectOptions *options, const pmConfig *config);
 char *pmDetrendFile (const char *detID, const char *classID, const pmConfig *config);
Index: /trunk/psModules/src/detrend/pmDetrendThreads.h
===================================================================
--- /trunk/psModules/src/detrend/pmDetrendThreads.h	(revision 23486)
+++ /trunk/psModules/src/detrend/pmDetrendThreads.h	(revision 23487)
@@ -18,5 +18,5 @@
 
 /// get the requested number of scan rows per thread
-int pmDetrendGetScanRows ();
+int pmDetrendGetScanRows(void);
 
 /// @}
Index: /trunk/psModules/src/detrend/pmShutterCorrection.c
===================================================================
--- /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 23486)
+++ /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 23487)
@@ -71,5 +71,5 @@
 }
 
-pmShutterCorrection *pmShutterCorrectionAlloc()
+pmShutterCorrection *pmShutterCorrectionAlloc(void)
 {
     pmShutterCorrection *corr = (pmShutterCorrection*)psAlloc(sizeof(pmShutterCorrection));
Index: /trunk/psModules/src/detrend/pmShutterCorrection.h
===================================================================
--- /trunk/psModules/src/detrend/pmShutterCorrection.h	(revision 23486)
+++ /trunk/psModules/src/detrend/pmShutterCorrection.h	(revision 23487)
@@ -69,5 +69,5 @@
 
 /// Allocator for shutter correction parameters
-pmShutterCorrection *pmShutterCorrectionAlloc();
+pmShutterCorrection *pmShutterCorrectionAlloc(void);
 
 /// Guess a shutter correction, based on plot of counts vs exposure time
Index: /trunk/psModules/src/extras/pmKapaPlots.c
===================================================================
--- /trunk/psModules/src/extras/pmKapaPlots.c	(revision 23486)
+++ /trunk/psModules/src/extras/pmKapaPlots.c	(revision 23487)
@@ -47,5 +47,5 @@
 }
 
-bool pmKapaClose ()
+bool pmKapaClose (void)
 {
 
Index: /trunk/psModules/src/extras/pmKapaPlots.h
===================================================================
--- /trunk/psModules/src/extras/pmKapaPlots.h	(revision 23486)
+++ /trunk/psModules/src/extras/pmKapaPlots.h	(revision 23487)
@@ -1,4 +1,4 @@
 /* @file  pmKapaPlots.h
- * @brief functions to make plots with the external program 'kapa' 
+ * @brief functions to make plots with the external program 'kapa'
  *
  * @author EAM, IfA
@@ -17,5 +17,5 @@
 // move to psLib or psModules
 int pmKapaOpen (bool showWindow);
-bool pmKapaClose ();
+bool pmKapaClose(void);
 bool pmKapaPlotVectorPair (psVector *xVec, psVector *yVec);
 
Index: /trunk/psModules/src/extras/psPipe.c
===================================================================
--- /trunk/psModules/src/extras/psPipe.c	(revision 23486)
+++ /trunk/psModules/src/extras/psPipe.c	(revision 23487)
@@ -35,5 +35,5 @@
 }
 
-psPipe *psPipeAlloc ()
+psPipe *psPipeAlloc (void)
 {
     psPipe *pipe = (psPipe *)psAlloc(sizeof(psPipe));
Index: /trunk/psModules/src/extras/psPipe.h
===================================================================
--- /trunk/psModules/src/extras/psPipe.h	(revision 23486)
+++ /trunk/psModules/src/extras/psPipe.h	(revision 23487)
@@ -1,4 +1,4 @@
 /* @file  psPipe.h
- * @brief 3-stream pipe 
+ * @brief 3-stream pipe
  *
  * @author EAM, IfA
@@ -26,5 +26,5 @@
 
 // psPipe functions
-psPipe *psPipeAlloc ();
+psPipe *psPipeAlloc (void);
 psPipe *psPipeOpen (char *command);
 int     psPipeClose (psPipe *pipe);
Index: /trunk/psModules/src/imcombine/pmSubtractionVisual.c
===================================================================
--- /trunk/psModules/src/imcombine/pmSubtractionVisual.c	(revision 23486)
+++ /trunk/psModules/src/imcombine/pmSubtractionVisual.c	(revision 23487)
@@ -44,5 +44,5 @@
 
 /** destroy windows at the end of a run*/
-bool pmSubtractionVisualClose()
+bool pmSubtractionVisualClose(void)
 {
     if(kapa != -1)
@@ -256,5 +256,5 @@
 
 #else
-bool pmSubtractionVisualClose() {return true;}
+bool pmSubtractionVisualClose(void) {return true;}
 bool pmSubtractionVisualPlotConvKernels(psImage *convKernels) {return true;}
 bool pmSubtractionVisualPlotStamps(pmSubtractionStampList *stamps, pmReadout *ro) {return true;}
Index: /trunk/psModules/src/imcombine/pmSubtractionVisual.h
===================================================================
--- /trunk/psModules/src/imcombine/pmSubtractionVisual.h	(revision 23486)
+++ /trunk/psModules/src/imcombine/pmSubtractionVisual.h	(revision 23487)
@@ -2,5 +2,5 @@
 #define PM_SUBTRACTION_VISUAL_H
 
-bool pmSubtractionVisualClose();
+bool pmSubtractionVisualClose(void);
 bool pmSubtractionVisualPlotConvKernels(psImage *convKernels);
 bool pmSubtractionVisualPlotStamps(pmSubtractionStampList *stamps, pmReadout *ro);
Index: /trunk/psModules/src/objects/pmDetections.c
===================================================================
--- /trunk/psModules/src/objects/pmDetections.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmDetections.c	(revision 23487)
@@ -30,5 +30,5 @@
 
 // generate a pmDetections container with empty (allocated) footprints and peaks containers
-pmDetections *pmDetectionsAlloc() {
+pmDetections *pmDetectionsAlloc(void) {
 
     pmDetections *detections = (pmDetections *)psAlloc(sizeof(pmDetections));
Index: /trunk/psModules/src/objects/pmDetections.h
===================================================================
--- /trunk/psModules/src/objects/pmDetections.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmDetections.h	(revision 23487)
@@ -20,11 +20,11 @@
  */
 typedef struct {
-  psArray *footprints;	      // collection of footprints in the image
-  psArray *peaks;	      // collection of all peaks contained by the footprints
-  psArray *oldPeaks;	      // collection of all peaks previously found
+  psArray *footprints;        // collection of footprints in the image
+  psArray *peaks;             // collection of all peaks contained by the footprints
+  psArray *oldPeaks;          // collection of all peaks previously found
   int last;
 } pmDetections;
 
-pmDetections *pmDetectionsAlloc ();
+pmDetections *pmDetectionsAlloc (void);
 
 /// @}
Index: /trunk/psModules/src/objects/pmMoments.c
===================================================================
--- /trunk/psModules/src/objects/pmMoments.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmMoments.c	(revision 23487)
@@ -25,5 +25,5 @@
 to zero.
 *****************************************************************************/
-pmMoments *pmMomentsAlloc()
+pmMoments *pmMomentsAlloc(void)
 {
     psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
Index: /trunk/psModules/src/objects/pmMoments.h
===================================================================
--- /trunk/psModules/src/objects/pmMoments.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmMoments.h	(revision 23487)
@@ -53,5 +53,5 @@
  *
  */
-pmMoments *pmMomentsAlloc();
+pmMoments *pmMomentsAlloc(void);
 
 /// @}
Index: /trunk/psModules/src/objects/pmPSF.c
===================================================================
--- /trunk/psModules/src/objects/pmPSF.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmPSF.c	(revision 23487)
@@ -54,5 +54,5 @@
 }
 
-pmPSFOptions *pmPSFOptionsAlloc () {
+pmPSFOptions *pmPSFOptionsAlloc (void) {
 
     pmPSFOptions *options = (pmPSFOptions *) psAlloc(sizeof(pmPSFOptions));
Index: /trunk/psModules/src/objects/pmPSF.h
===================================================================
--- /trunk/psModules/src/objects/pmPSF.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmPSF.h	(revision 23487)
@@ -96,5 +96,5 @@
 pmPSF *pmPSFAlloc (const pmPSFOptions *options);
 bool psMemCheckPSF(psPtr ptr);
-pmPSFOptions *pmPSFOptionsAlloc();
+pmPSFOptions *pmPSFOptionsAlloc(void);
 bool psMemCheckPSFOptions(psPtr ptr);
 
Index: /trunk/psModules/src/objects/pmSource.h
===================================================================
--- /trunk/psModules/src/objects/pmSource.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmSource.h	(revision 23487)
@@ -105,5 +105,5 @@
  *
  */
-pmSource  *pmSourceAlloc();
+pmSource  *pmSourceAlloc(void);
 
 /** pmSourceCopy()
Index: /trunk/psModules/src/objects/pmSourceExtendedPars.c
===================================================================
--- /trunk/psModules/src/objects/pmSourceExtendedPars.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourceExtendedPars.c	(revision 23487)
@@ -46,5 +46,5 @@
 }
 
-pmSourceExtendedPars *pmSourceExtendedParsAlloc () {
+pmSourceExtendedPars *pmSourceExtendedParsAlloc (void) {
     pmSourceExtendedPars *pars = (pmSourceExtendedPars *) psAlloc(sizeof(pmSourceExtendedPars));
     psMemSetDeallocator(pars, (psFreeFunc) pmSourceExtendedParsFree);
@@ -75,5 +75,5 @@
 }
 
-pmSourceRadialProfile *pmSourceRadialProfileAlloc () {
+pmSourceRadialProfile *pmSourceRadialProfileAlloc (void) {
 
     pmSourceRadialProfile *profile = (pmSourceRadialProfile *) psAlloc(sizeof(pmSourceRadialProfile));
@@ -99,5 +99,5 @@
 }
 
-pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc () {
+pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc (void) {
 
     pmSourceIsophotalValues *isophot = (pmSourceIsophotalValues *) psAlloc(sizeof(pmSourceIsophotalValues));
@@ -125,5 +125,5 @@
 }
 
-pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc () {
+pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc (void) {
 
     pmSourcePetrosianValues *petrosian = (pmSourcePetrosianValues *) psAlloc(sizeof(pmSourcePetrosianValues));
@@ -150,5 +150,5 @@
 }
 
-pmSourceKronValues *pmSourceKronValuesAlloc () {
+pmSourceKronValues *pmSourceKronValuesAlloc (void) {
 
     pmSourceKronValues *kron = (pmSourceKronValues *) psAlloc(sizeof(pmSourceKronValues));
@@ -181,5 +181,5 @@
 }
 
-pmSourceAnnuli *pmSourceAnnuliAlloc () {
+pmSourceAnnuli *pmSourceAnnuliAlloc (void) {
 
     pmSourceAnnuli *annuli = (pmSourceAnnuli *) psAlloc(sizeof(pmSourceAnnuli));
Index: /trunk/psModules/src/objects/pmSourceExtendedPars.h
===================================================================
--- /trunk/psModules/src/objects/pmSourceExtendedPars.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourceExtendedPars.h	(revision 23487)
@@ -55,15 +55,15 @@
 } pmSourceExtendedPars;
 
-pmSourceExtendedPars *pmSourceExtendedParsAlloc ();
+pmSourceExtendedPars *pmSourceExtendedParsAlloc(void);
 bool psMemCheckSourceExtendedPars(psPtr ptr);
-pmSourceRadialProfile *pmSourceRadialProfileAlloc ();
+pmSourceRadialProfile *pmSourceRadialProfileAlloc(void);
 bool psMemCheckSourceRadialProfile(psPtr ptr);
-pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc ();
+pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc(void);
 bool psMemCheckSourceIsophotalValues(psPtr ptr);
-pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc ();
+pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc(void);
 bool psMemCheckSourcePetrosianValues(psPtr ptr);
-pmSourceKronValues *pmSourceKronValuesAlloc ();
+pmSourceKronValues *pmSourceKronValuesAlloc(void);
 bool psMemCheckSourceKronValues(psPtr ptr);
-pmSourceAnnuli *pmSourceAnnuliAlloc ();
+pmSourceAnnuli *pmSourceAnnuliAlloc(void);
 bool psMemCheckSourceAnnuli(psPtr ptr);
 
Index: /trunk/psModules/src/objects/pmSourceFitSet.c
===================================================================
--- /trunk/psModules/src/objects/pmSourceFitSet.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourceFitSet.c	(revision 23487)
@@ -67,5 +67,5 @@
 }
 
-void pmSourceFitSetDone () {
+void pmSourceFitSetDone (void) {
     psFree (fitSets);
 }
@@ -150,5 +150,5 @@
 }
 
-pmSourceFitSetData *pmSourceFitSetDataGet () {
+pmSourceFitSetData *pmSourceFitSetDataGet (void) {
 
     psAssert (fitSets, "pmSourceFitSetInit not called");
@@ -172,5 +172,5 @@
 }
 
-void pmSourceFitSetDataClear () {
+void pmSourceFitSetDataClear (void) {
 
     int i;
Index: /trunk/psModules/src/objects/pmSourceFitSet.h
===================================================================
--- /trunk/psModules/src/objects/pmSourceFitSet.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourceFitSet.h	(revision 23487)
@@ -24,5 +24,5 @@
 // use this function to init the fit sets based on the number of threads
 bool pmSourceFitSetInit (int nThreads);
-void pmSourceFitSetDone ();
+void pmSourceFitSetDone (void);
 
 // initialize data for a group of object models
@@ -32,6 +32,6 @@
 // functions for selecting the FitSet corresponding to the current thread
 pmSourceFitSetData *pmSourceFitSetDataSet (psArray *modelSet);
-pmSourceFitSetData *pmSourceFitSetDataGet ();
-void pmSourceFitSetDataClear ();
+pmSourceFitSetData *pmSourceFitSetDataGet (void);
+void pmSourceFitSetDataClear (void);
 
 // function used to set limits for a group of models
@@ -54,8 +54,8 @@
  */
 bool pmSourceFitSet(
-    pmSource *source,			///< The input pmSource
-    psArray *modelSet,			///< model to be fitted
-    pmSourceFitMode mode,		///< define parameters to be fitted
-    psImageMaskType maskVal		///< Vale to mask
+    pmSource *source,                   ///< The input pmSource
+    psArray *modelSet,                  ///< model to be fitted
+    pmSourceFitMode mode,               ///< define parameters to be fitted
+    psImageMaskType maskVal             ///< Vale to mask
 
 );
Index: /trunk/psModules/src/objects/pmSourcePlots.c
===================================================================
--- /trunk/psModules/src/objects/pmSourcePlots.c	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourcePlots.c	(revision 23487)
@@ -139,5 +139,5 @@
 }
 
-pmSourcePlotLayout *pmSourcePlotLayoutAlloc()
+pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void)
 {
     pmSourcePlotLayout *layout = (pmSourcePlotLayout *)psAlloc(sizeof(pmSourcePlotLayout));
Index: /trunk/psModules/src/objects/pmSourcePlots.h
===================================================================
--- /trunk/psModules/src/objects/pmSourcePlots.h	(revision 23486)
+++ /trunk/psModules/src/objects/pmSourcePlots.h	(revision 23487)
@@ -29,5 +29,5 @@
 // typedef bool (*pmSourcePlotFunction)(pmConfig *config, pmFPAview *view, pmSourcePlotLayout *layout);
 
-pmSourcePlotLayout *pmSourcePlotLayoutAlloc();
+pmSourcePlotLayout *pmSourcePlotLayoutAlloc(void);
 bool psMemCheckSourcePlotLayout(psPtr ptr);
 
Index: /trunk/psphot/src/psphotCleanup.c
===================================================================
--- /trunk/psphot/src/psphotCleanup.c	(revision 23486)
+++ /trunk/psphot/src/psphotCleanup.c	(revision 23487)
@@ -18,10 +18,10 @@
 }
 
-psExit psphotGetExitStatus () {
+psExit psphotGetExitStatus (void) {
 
     psErrorCode err = psErrorCodeLast ();
     switch (err) {
       case PS_ERR_NONE:
-	return PS_EXIT_SUCCESS;
+        return PS_EXIT_SUCCESS;
       case PSPHOT_ERR_SYS:
         return PS_EXIT_SYS_ERROR;
Index: /trunk/psphot/src/psphotDetect.h
===================================================================
--- /trunk/psphot/src/psphotDetect.h	(revision 23486)
+++ /trunk/psphot/src/psphotDetect.h	(revision 23487)
@@ -19,5 +19,5 @@
 bool        psphotMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile);
 void        psphotCleanup (pmConfig *config);
-psExit      psphotGetExitStatus ();
+psExit      psphotGetExitStatus (void);
 
 #endif
Index: /trunk/psphot/src/psphotStandAlone.h
===================================================================
--- /trunk/psphot/src/psphotStandAlone.h	(revision 23486)
+++ /trunk/psphot/src/psphotStandAlone.h	(revision 23487)
@@ -17,5 +17,5 @@
 bool            psphotMosaicChip(pmConfig *config, const pmFPAview *view, char *outFile, char *inFile);
 void            psphotCleanup (pmConfig *config);
-psExit          psphotGetExitStatus ();
+psExit          psphotGetExitStatus (void);
 
 #endif
Index: /trunk/pswarp/src/pswarp.h
===================================================================
--- /trunk/pswarp/src/pswarp.h	(revision 23486)
+++ /trunk/pswarp/src/pswarp.h	(revision 23487)
@@ -72,5 +72,5 @@
 } pswarpTransformTileArgs;
 
-pswarpTransformTileArgs *pswarpTransformTileArgsAlloc();
+pswarpTransformTileArgs *pswarpTransformTileArgsAlloc(void);
 bool pswarpTransformTile (pswarpTransformTileArgs *args);
 
@@ -87,5 +87,5 @@
 bool pswarpMatchRange (int *minX, int *minY, int *maxX, int *maxY, pmReadout *dest, pmReadout *src);
 
-pswarpMap *pswarpMapAlloc ();
+pswarpMap *pswarpMapAlloc (void);
 pswarpMapGrid *pswarpMapGridAlloc (int Nx, int Ny);
 
@@ -111,5 +111,5 @@
  * define threads for this program
  */
-bool pswarpSetThreads ();
+bool pswarpSetThreads (void);
 
 /// Return software version
Index: /trunk/pswarp/src/pswarpMapGrid.c
===================================================================
--- /trunk/pswarp/src/pswarpMapGrid.c	(revision 23486)
+++ /trunk/pswarp/src/pswarpMapGrid.c	(revision 23487)
@@ -43,9 +43,9 @@
     // measure the map for the center of each superpixel
     for (ni = 0, i = xMin; ni < nXpts; i += nXpix, ni++) {
-	for (nj = 0, j = yMin; nj < nYpts; j += nYpix, nj++) {
-	    pswarpMapSetLocalModel (grid->maps[ni][nj], dest, src, i, j);
-	}
+        for (nj = 0, j = yMin; nj < nYpts; j += nYpix, nj++) {
+            pswarpMapSetLocalModel (grid->maps[ni][nj], dest, src, i, j);
+        }
     }
-	    
+
     grid->nXpix = nXpix;
     grid->nYpix = nYpix;
@@ -112,15 +112,15 @@
 
     for (int i = 0; i < grid->nXpts - 1; i++) {
-	for (int j = 0; j < grid->nYpts - 1; j++) {
-
-	    // measure the output coordinates for the next grid position using the current grid map
-	    // compare with the coordinates measured using the next grid map
-	    pswarpMapApply (&xRaw, &yRaw, grid->maps[i][j], grid->maps[i][j]->xo + grid->nXpix, grid->maps[i][j]->yo);
-	    pswarpMapApply (&xRef, &yRef, grid->maps[i+1][j], grid->maps[i][j]->xo + grid->nXpix, grid->maps[i][j]->yo);
-
-	    double posError = hypot (xRaw-xRef, yRaw-yRef);
-	    maxError = PS_MAX (maxError, posError);
-	}
-    }	
+        for (int j = 0; j < grid->nYpts - 1; j++) {
+
+            // measure the output coordinates for the next grid position using the current grid map
+            // compare with the coordinates measured using the next grid map
+            pswarpMapApply (&xRaw, &yRaw, grid->maps[i][j], grid->maps[i][j]->xo + grid->nXpix, grid->maps[i][j]->yo);
+            pswarpMapApply (&xRef, &yRef, grid->maps[i+1][j], grid->maps[i][j]->xo + grid->nXpix, grid->maps[i][j]->yo);
+
+            double posError = hypot (xRaw-xRef, yRaw-yRef);
+            maxError = PS_MAX (maxError, posError);
+        }
+    }
     return maxError;
 }
@@ -176,5 +176,5 @@
     psPlaneTransformApply (FP, fpaDest->fromTPA, TP);
     psPlaneTransformApply (V00, chipDest->fromFPA, FP);
-    
+
     /** V(1,0) position */
     offset->x = ix + 1;
@@ -186,5 +186,5 @@
     psPlaneTransformApply (FP, fpaDest->fromTPA, TP);
     psPlaneTransformApply (V10, chipDest->fromFPA, FP);
-    
+
     /** V(0,1) position */
     offset->x = ix;
@@ -204,5 +204,5 @@
     map->Yy = V01->y - V00->y;
     map->Yo = V00->y - map->Yx*ix - map->Yy*iy;
- 
+
     map->xo = ix;
     map->yo = iy;
@@ -224,5 +224,5 @@
 }
 
-pswarpMap *pswarpMapAlloc () {
+pswarpMap *pswarpMapAlloc(void) {
 
   pswarpMap *map = (pswarpMap *) psAlloc (sizeof(pswarpMap));
@@ -238,8 +238,8 @@
 
     for (int i = 0; i < grid->nXpts; i++) {
-	for (int j = 0; j < grid->nYpts; j++) {
-	    psFree (grid->maps[i][j]);
-	}
-	psFree (grid->maps[i]);
+        for (int j = 0; j < grid->nYpts; j++) {
+            psFree (grid->maps[i][j]);
+        }
+        psFree (grid->maps[i]);
     }
     psFree (grid->maps);
@@ -256,5 +256,5 @@
       grid->maps[i] = psAlloc (nYpts*sizeof(void *));
       for (int j = 0; j < nYpts; j++) {
-	  grid->maps[i][j] = pswarpMapAlloc();
+          grid->maps[i][j] = pswarpMapAlloc();
       }
   }
@@ -264,5 +264,5 @@
   grid->nXpix = 0;
   grid->nYpix = 0;
-  
+
   return grid;
 }
Index: /trunk/pswarp/src/pswarpSetThreads.c
===================================================================
--- /trunk/pswarp/src/pswarpSetThreads.c	(revision 23486)
+++ /trunk/pswarp/src/pswarpSetThreads.c	(revision 23487)
@@ -23,5 +23,5 @@
 }
 
-bool pswarpSetThreads () {
+bool pswarpSetThreads(void) {
 
     psThreadTask *task = NULL;
Index: /trunk/pswarp/src/pswarpTransformTile.c
===================================================================
--- /trunk/pswarp/src/pswarpTransformTile.c	(revision 23486)
+++ /trunk/pswarp/src/pswarpTransformTile.c	(revision 23487)
@@ -24,5 +24,5 @@
 }
 
-pswarpTransformTileArgs *pswarpTransformTileArgsAlloc()
+pswarpTransformTileArgs *pswarpTransformTileArgsAlloc(void)
 {
     pswarpTransformTileArgs *args = psAlloc(sizeof(pswarpTransformTileArgs));
