Index: /trunk/psastro/src/Makefile.am
===================================================================
--- /trunk/psastro/src/Makefile.am	(revision 10715)
+++ /trunk/psastro/src/Makefile.am	(revision 10716)
@@ -34,5 +34,4 @@
 psastroMosaicHeaders.c	    \
 psastroMosaicRescaleChips.c \
-psastroWCS.c	            \
 psastroErrorCodes.c         \
 psastroVersion.c
Index: /trunk/psastro/src/psastro.h
===================================================================
--- /trunk/psastro/src/psastro.h	(revision 10715)
+++ /trunk/psastro/src/psastro.h	(revision 10716)
@@ -38,6 +38,6 @@
 bool              psastroAstromGuess (pmConfig *config);
 
-bool              pmAstromReadWCS (pmFPA *fpa, pmChip *chip, psMetadata *header, double plateScale, bool isMosaic);
-bool              pmAstromWriteWCS (psPlaneTransform *toFPA, psPlaneDistort *toTPA, psProjection *toSky, psMetadata *header, double plateScale);
+// bool              pmAstromReadWCS (pmFPA *fpa, pmChip *chip, psMetadata *header, double plateScale, bool isMosaic);
+// bool              pmAstromWriteWCS (psPlaneTransform *toFPA, psPlaneDistort *toTPA, psProjection *toSky, psMetadata *header, double plateScale);
 psPlaneDistort   *psPlaneDistortIdentity ();
 bool psPlaneDistortIsIdentity (psPlaneDistort *distort);
Index: /trunk/psastro/src/psastroChipAstrom.c
===================================================================
--- /trunk/psastro/src/psastroChipAstrom.c	(revision 10715)
+++ /trunk/psastro/src/psastroChipAstrom.c	(revision 10716)
@@ -55,5 +55,5 @@
 		    return false;
 		}
-		pmAstromWriteWCS (chip->toFPA, fpa->toTPA, fpa->toSky, updates, plateScale);
+		pmAstromWriteWCS (updates, fpa, chip);
 		psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
 		psFree (updates);
Index: /trunk/psastro/src/psastroChooseRefstars.c
===================================================================
--- /trunk/psastro/src/psastroChooseRefstars.c	(revision 10715)
+++ /trunk/psastro/src/psastroChooseRefstars.c	(revision 10716)
@@ -61,5 +61,4 @@
                     pmAstromObj *ref = pmAstromObjCopy(refs->data[i]);
 
-                    // XXX why is this still a private function?
                     psProject (ref->TP, ref->sky, fpa->toSky);
                     psPlaneDistortApply (ref->FP, fpa->fromTPA, ref->TP, 0.0, 0.0);
