Changeset 16139 for trunk/Ohana/src/libfits/matrix/F_read_portion.c
- Timestamp:
- Jan 18, 2008, 2:52:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_read_portion.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_read_portion.c
r15743 r16139 13 13 FILE *f; 14 14 Header header; 15 int status, i, nbytes, Nbytes, Nrec; 16 unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp; 17 int perpix; 15 int status, nbytes, Nbytes, Nrec; 18 16 19 17 status = gfits_read_header (filename, &header); … … 54 52 55 53 # ifdef BYTE_SWAP 54 { 55 int i, perpix; 56 unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp; 57 56 58 perpix = abs(header.bitpix) / 8; 57 59 if (perpix > 1) { … … 98 100 } 99 101 } 102 } 100 103 # endif 101 104
Note:
See TracChangeset
for help on using the changeset viewer.
