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_write_T.c

    r7039 r7054  
    33
    44/*********************** fits write header *********************************/
    5 int fits_write_table (char *filename, FTable *table) {
     5int gfits_write_table (char *filename, FTable *table) {
    66 
    77  FILE *f;
     
    1414 
    1515  status = fseek (f, 0, SEEK_END);  /* write table to end of file! */
    16   status = fits_fwrite_table (f, table);
     16  status = gfits_fwrite_table (f, table);
    1717
    1818  fclose (f);
     
    2121
    2222/*********************** fits write table *********************************/
    23 int fits_fwrite_table (FILE *f, FTable *table) {
     23int gfits_fwrite_table (FILE *f, FTable *table) {
    2424 
    2525  int Nbytes;
     
    3232
    3333/*********************** fits write virtual table *********************************/
    34 int fits_fwrite_vtable (FILE *f, VTable *table) {
     34int gfits_fwrite_vtable (FILE *f, VTable *table) {
    3535 
    3636  int i, Nx, Ny, Npad, offset, start;
     
    4040  Nrow = table[0].Nrow;
    4141  row = table[0].row;
    42   fits_scan (table[0].header, "NAXIS1", "%d", 1, &Nx);
    43   fits_scan (table[0].header, "NAXIS2", "%d", 1, &Ny);
     42  gfits_scan (table[0].header, "NAXIS1", "%d", 1, &Nx);
     43  gfits_scan (table[0].header, "NAXIS2", "%d", 1, &Ny);
    4444
    4545  /* file pointer is at beginning of desired table data */
Note: See TracChangeset for help on using the changeset viewer.