IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2006, 12:01:09 PM (20 years ago)
Author:
eugene
Message:

converted fits_ to gfits_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/table/F_table_column.c

    r7039 r7054  
    33
    44/*********************** fits table column ****************************/
    5 int fits_table_column (Table *table, char *field, char *mode,...) {
     5int gfits_table_column (Table *table, char *field, char *mode,...) {
    66/* we expect one more field: the pointer to the array we read in */
    77
     
    1919  for (i = 0; i < table[0].Nfields; i++) {
    2020    sprintf (string, "TTYPE%d\0", i+1);
    21     fits_scan (&table[0].header, string, "%s", 1, this_field);
     21    gfits_scan (&table[0].header, string, "%s", 1, this_field);
    2222    if (!strcmp (field, this_field)) {
    2323      break;
     
    3333
    3434  sprintf (string, "TBCOL%d\0", N);
    35   fits_scan (&table[0].header, string, "%d", 1, &start);
     35  gfits_scan (&table[0].header, string, "%d", 1, &start);
    3636  sprintf (string, "TFORM%d\0", N);
    37   fits_scan (&table[0].header, string, "%s", 1, form);
     37  gfits_scan (&table[0].header, string, "%s", 1, form);
    3838  /* we could use some error checking from the FITS table form, but
    3939     it is not immediately crucial */
     
    4343  } else {
    4444    sprintf (string, "TBCOL%d\0", N+1);
    45     fits_scan (&table[0].header, string, "%d", 1, &end);
     45    gfits_scan (&table[0].header, string, "%d", 1, &end);
    4646  }
    4747  width = end - start;
     
    8888      break;
    8989    default:
    90       fprintf (stderr, "unknown fits_table_column mode: %s\n", mode);
     90      fprintf (stderr, "unknown gfits_table_column mode: %s\n", mode);
    9191      return (FALSE);
    9292    }
Note: See TracChangeset for help on using the changeset viewer.