Index: trunk/psModules/src/objects/pmSourceMatch.c
===================================================================
--- trunk/psModules/src/objects/pmSourceMatch.c	(revision 21089)
+++ trunk/psModules/src/objects/pmSourceMatch.c	(revision 21105)
@@ -286,11 +286,11 @@
 // Iterate on the star magnitudes and image transparencies
 // Returns the solution chi^2
-float sourceMatchRelphotIterate(psVector *trans, // Transparencies
-                                psVector *stars, // Star magnitudes
-                                const psArray *matches, // Array of matches
-                                const psVector *zp, // Zero points for each image (including airmass term)
-                                const psVector *photo, // Photometric image?
-                                float sysErr2 // Systematic error, squared
-                                )
+static float sourceMatchRelphotIterate(psVector *trans, // Transparencies
+                                       psVector *stars, // Star magnitudes
+                                       const psArray *matches, // Array of matches
+                                       const psVector *zp, // Zero points for each image (incl. airmass term)
+                                       const psVector *photo, // Photometric image?
+                                       float sysErr2 // Systematic error, squared
+    )
 {
     psAssert(zp && zp->type.type == PS_TYPE_F32, "Need zero points");
