Index: trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- trunk/psLib/src/astronomy/psAstrometry.c	(revision 1480)
+++ trunk/psLib/src/astronomy/psAstrometry.c	(revision 1481)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-11 22:03:56 $
+*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-11 23:08:37 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -19,4 +19,5 @@
 #include "psAstrometry.h"
 #include "psMemory.h"
+#include "psAbort.h"
 
 psExposure* psExposureAlloc(double ra, double dec, double hourAngle,
@@ -49,7 +50,6 @@
 psGrommit* psGrommitAlloc(const psExposure* exp)
 {
-    // XXX: is this the correct action?
     if (exp == NULL) {
-        return(NULL);
+        psAbort(__func__, "the 'exp' parameter is NULL\n");
     }
 
@@ -83,5 +83,5 @@
  * XXX: The SDRS states this should be a private p_ps() procedure.
  */
-void psGrommitFree(psGrommit* grommit)
+void p_psGrommitFree(psGrommit* grommit)
 {
     psFree(grommit);
