Index: trunk/psLib/src/astro/psTime.c
===================================================================
--- trunk/psLib/src/astro/psTime.c	(revision 9980)
+++ trunk/psLib/src/astro/psTime.c	(revision 9987)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-11-15 00:26:40 $
+ *  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-11-15 01:27:55 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -163,7 +163,7 @@
 
 // get the pslib.config filename by checking environment variable first, then original installation area.
-char* p_psGetConfigFileName()
-{
-    char* filename = getenv("PS_CONFIG_FILE");
+const char* p_psTimeConfigFileName()
+{
+    const char* filename = getenv("PS_CONFIG_FILE");
 
     if (filename == NULL) { // environment variable not found
@@ -189,5 +189,5 @@
 
     // Check if psTime tables are already loaded
-    if(!p_psTimeInit(p_psGetConfigFileName())) {
+    if(!p_psTimeInit(p_psTimeConfigFileName())) {
         *status = PS_LOOKUP_ERROR;
         return NAN;
@@ -1192,7 +1192,7 @@
 
     // Check if psTime tables are loaded/loadable
-    if(!p_psTimeInit(p_psGetConfigFileName())) {
+    if(!p_psTimeInit(p_psTimeConfigFileName())) {
         psError(PS_ERR_BAD_PARAMETER_VALUE, true, _("Failed to open file %s."),
-                p_psGetConfigFileName());
+                p_psTimeConfigFileName());
         return NAN;
     }
