IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34824


Ignore:
Timestamp:
Dec 14, 2012, 6:59:29 PM (13 years ago)
Author:
bills
Message:

The compiler at MPIA (4.1.2) was unhappy with passing an argument to a function
that "didn't have a real prototype". Changed code to match implementation
ppMopsDetections *ppMopsDetectionsAlloc(void)

Location:
trunk/ppTranslate/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMops.h

    r34650 r34824  
    6262} ppMopsDetections;
    6363
    64 ppMopsDetections *ppMopsDetectionsAlloc();
     64ppMopsDetections *ppMopsDetectionsAlloc(void);
    6565
    6666/// Copy a detection
  • trunk/ppTranslate/src/ppMopsDetections.c

    r32406 r34824  
    2323}
    2424
    25 ppMopsDetections *ppMopsDetectionsAlloc()
     25ppMopsDetections *ppMopsDetectionsAlloc(void)
    2626{
    2727    ppMopsDetections *det = psAlloc(sizeof(ppMopsDetections)); // Detections, to return
  • trunk/ppTranslate/src/ppMopsRead.c

    r34779 r34824  
    8383      continue;
    8484    }
    85     ppMopsDetections *det = ppMopsDetectionsAlloc(size);
     85    ppMopsDetections *det = ppMopsDetectionsAlloc();
    8686    det->platescale = NAN;
    8787    detections->data[i] = det;
Note: See TracChangeset for help on using the changeset viewer.