Changeset 8103 for branches/jhoblitt/ippdb/tests/pop.c
- Timestamp:
- Aug 2, 2006, 5:32:12 PM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/pop.c (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/pop.c
r8094 r8103 286 286 psF32 airmass; 287 287 psF64 ra; 288 psF64 dec ;288 psF64 decl; 289 289 psF32 exp_time; 290 290 psF64 background; … … 295 295 } 296 296 297 if (!rawDetrendExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background)) {297 if (!rawDetrendExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background)) { 298 298 exit(EXIT_FAILURE); 299 299 } … … 312 312 psF32 airmass; 313 313 psF64 ra; 314 psF64 dec ;314 psF64 decl; 315 315 psF32 exp_time; 316 316 psF64 background; … … 321 321 } 322 322 323 if (!rawScienceExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background)) {323 if (!rawScienceExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background)) { 324 324 exit(EXIT_FAILURE); 325 325 } … … 357 357 psF32 airmass; 358 358 psF64 ra; 359 psF64 dec ;359 psF64 decl; 360 360 psF32 exp_time; 361 361 psF64 background; … … 368 368 } 369 369 370 if (!p1PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background, (char **)&recipe, &p1_version)) {370 if (!p1PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background, (char **)&recipe, &p1_version)) { 371 371 exit(EXIT_FAILURE); 372 372 } … … 385 385 psF32 airmass; 386 386 psF32 ra; 387 psF64 dec ;387 psF64 decl; 388 388 psF64 exp_time; 389 389 psF64 background; … … 397 397 } 398 398 399 if (!p2PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background, (char **)&recipe, &p1_version, &p2_version)) {399 if (!p2PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background, (char **)&recipe, &p1_version, &p2_version)) { 400 400 exit(EXIT_FAILURE); 401 401 } … … 435 435 psF32 airmass; 436 436 psF64 ra; 437 psF64 dec ;437 psF64 decl; 438 438 psF32 exp_time; 439 439 psF64 background; … … 447 447 } 448 448 449 if (!p2DoneExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background, (char **)&recipe, &p1_version, &p2_version)) {449 if (!p2DoneExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background, (char **)&recipe, &p1_version, &p2_version)) { 450 450 exit(EXIT_FAILURE); 451 451 } … … 484 484 psF32 airmass; 485 485 psF64 ra; 486 psF64 dec ;486 psF64 decl; 487 487 psF32 exp_time; 488 488 psF64 background; … … 496 496 } 497 497 498 if (!p3PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background, (char **)&recipe, &p2_version, &p3_version)) {498 if (!p3PendingExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background, (char **)&recipe, &p2_version, &p3_version)) { 499 499 exit(EXIT_FAILURE); 500 500 } … … 532 532 psF32 airmass; 533 533 psF64 ra; 534 psF64 dec ;534 psF64 decl; 535 535 psF32 exp_time; 536 536 psF64 background; … … 541 541 } 542 542 543 if (!detInputExpPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec , &exp_time, &background)) {543 if (!detInputExpPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &decl, &exp_time, &background)) { 544 544 exit(EXIT_FAILURE); 545 545 }
Note:
See TracChangeset
for help on using the changeset viewer.
