Index: trunk/Ohana/src/libfits/doc/sample2.c
===================================================================
--- trunk/Ohana/src/libfits/doc/sample2.c	(revision 7039)
+++ trunk/Ohana/src/libfits/doc/sample2.c	(revision 7054)
@@ -19,15 +19,15 @@
 
   strcpy (filename, "test.fits");
-  fits_read_header  (filename, &header);
-  fits_read_matrix  (filename, &matrix);
-  fits_read_ftable  (filename, &table1, "ZERO_POINTS");
-  fits_read_ftable  (filename, &table2, "ASCII_PTS");
+  gfits_read_header  (filename, &header);
+  gfits_read_matrix  (filename, &matrix);
+  gfits_read_ftable  (filename, &table1, "ZERO_POINTS");
+  gfits_read_ftable  (filename, &table2, "ASCII_PTS");
   
   /* set table column based on array, extend NAXIS2 as needed/appropriate */
-  fits_get_bintable_column (&theader1, &table1, "ZP_OBS", &zpobs);
-  fits_get_bintable_column (&theader1, &table1, "ZP_REF", &zpref);
-  fits_get_bintable_column (&theader1, &table1, "TIME",   &time);
-  fits_get_bintable_column (&theader1, &table1, "TCHAR",  &tchar);
-  fits_scan (&theader1, "NAXIS2", "%d", 1, &Nrow);
+  gfits_get_bintable_column (&theader1, &table1, "ZP_OBS", &zpobs);
+  gfits_get_bintable_column (&theader1, &table1, "ZP_REF", &zpref);
+  gfits_get_bintable_column (&theader1, &table1, "TIME",   &time);
+  gfits_get_bintable_column (&theader1, &table1, "TCHAR",  &tchar);
+  gfits_scan (&theader1, "NAXIS2", "%d", 1, &Nrow);
 
   for (i = 0; i < Nrow; i++) {
@@ -38,9 +38,9 @@
 
   /* set table column based on array, extend NAXIS2 as needed/appropriate */
-  fits_get_table_column (&theader2, &table2, "ZP_OBS", &zpobs);
-  fits_get_table_column (&theader2, &table2, "ZP_REF", &zpref);
-  fits_get_table_column (&theader2, &table2, "TIME",   &time);
-  fits_get_table_column (&theader2, &table2, "TCHAR",  &tchar);
-  fits_scan (&theader2, "NAXIS2", "%d", 1, &Nrow);
+  gfits_get_table_column (&theader2, &table2, "ZP_OBS", &zpobs);
+  gfits_get_table_column (&theader2, &table2, "ZP_REF", &zpref);
+  gfits_get_table_column (&theader2, &table2, "TIME",   &time);
+  gfits_get_table_column (&theader2, &table2, "TCHAR",  &tchar);
+  gfits_scan (&theader2, "NAXIS2", "%d", 1, &Nrow);
 
   for (i = 0; i < Nrow; i++) {
@@ -54,7 +54,7 @@
 
 /*
-  fits_set_table_column (&theader2, &table2, "ZP_OBS", zpobs, Nrow);
-  fits_set_table_column (&theader2, &table2, "ZP_REF", zpref, Nrow);
-  fits_set_table_column (&theader2, &table2, "TIME",   time,  Nrow);
-  fits_set_table_column (&theader2, &table2, "TCHAR",  tchar, Nrow);
+  gfits_set_table_column (&theader2, &table2, "ZP_OBS", zpobs, Nrow);
+  gfits_set_table_column (&theader2, &table2, "ZP_REF", zpref, Nrow);
+  gfits_set_table_column (&theader2, &table2, "TIME",   time,  Nrow);
+  gfits_set_table_column (&theader2, &table2, "TCHAR",  tchar, Nrow);
 */
