Index: trunk/psastro/src/psastro.c
===================================================================
--- trunk/psastro/src/psastro.c	(revision 11354)
+++ trunk/psastro/src/psastro.c	(revision 12492)
@@ -7,4 +7,7 @@
 
 int main (int argc, char **argv) {
+
+    pmConfig *config = NULL;
+    psArray *refs = NULL;
 
     psTimerStart ("complete");
@@ -17,5 +20,5 @@
 
     // load configuration information
-    pmConfig *config = psastroArguments (argc, argv);
+    config = psastroArguments (argc, argv);
     if (!config) usage ();
 
@@ -41,5 +44,5 @@
 
     // load the reference stars overlapping the data stars
-    psArray *refs = psastroLoadRefstars (config);
+    refs = psastroLoadRefstars (config);
     if (!refs) {
 	psErrorStackPrint(stderr, "failed to load reference data\n");
