# include "addstar.h"

void gregion (Stars *star, GSCRegion *region) {
  
  FILE *f;
  
  f = fopen (GSCFILE, "r");
  if (f == NULL) {
    fprintf (stderr, "ERROR: can't find GSC region file %s\n", GSCFILE);
    exit (1);
  }
  
  aregion (region, f, star[0].R, star[0].D);

  fprintf (stderr, " loading %s\n",  region[0].filename);
  
  fclose (f);
  
}
