IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2009, 10:43:26 AM (17 years ago)
Author:
eugene
Message:

lots of very minor API mods to satisfy some pickier compilers (supply void to prototypes for argument-less functions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/mosastro/include/mosastro.h

    r8499 r21153  
    131131void       FitGradients       PROTO((Gradients *grad));
    132132void       GetConfig          PROTO((char *config, char *field, char *format, int N, void *ptr));
    133 Gradients *GetGradients       PROTO(());
     133Gradients *GetGradients       PROTO((void));
    134134double     GetScatter         PROTO((int *Nscatter, double *DL, double *DM, int bright));
    135135int        LoadStars          PROTO((int Nfile, char **file));
     
    141141void       area_of_region     PROTO((CatStats *region));
    142142void       args               PROTO((int *argc, char **argv));
    143 int        deproject_raw      PROTO(());
    144 int        deproject_stars    PROTO(());
     143int        deproject_raw      PROTO((void));
     144int        deproject_stars    PROTO((void));
    145145int        dump_grads         PROTO((Gradients *grad, char *filename));
    146 int        dump_match         PROTO(());
    147 int        dump_rawstars      PROTO(());
     146int        dump_match         PROTO((void));
     147int        dump_rawstars      PROTO((void));
    148148int        dump_refcat        PROTO((StarData *refcat, int Nrefcat));
    149149int        dump_stars         PROTO((FILE *f, StarData *stars, int Nstars));
    150150int        fake_field         PROTO((double RA, double DEC));
    151 void       field_combine      PROTO(());
    152 void       field_stats        PROTO(());
     151void       field_combine      PROTO((void));
     152void       field_stats        PROTO((void));
    153153int        find_dec_bands     PROTO((CatStats *area));
    154154void       fit_add            PROTO((double x1, double y1, double x2, double y2));
     
    156156void       fit_apply_grads    PROTO((Coords *distort, Coords *project, int term));
    157157void       fit_correct_grads  PROTO((Gradients *in, Gradients *out, int term));
    158 void       fit_eval           PROTO(());
    159 void       fit_free           PROTO(());
     158void       fit_eval           PROTO((void));
     159void       fit_free           PROTO((void));
    160160void       fit_init           PROTO((int order));
    161161int        gaussj             PROTO((double **a, int n, double **b, int m));
     
    170170StarData  *greference         PROTO((int *Nrefcat));
    171171CatStats  *gregions           PROTO((CatStats *patch, int *nregion));
    172 int        init_chips         PROTO(());
    173 int        init_field         PROTO(());
    174 void       init_regions       PROTO(());
     172int        init_chips         PROTO((void));
     173int        init_field         PROTO((void));
     174void       init_regions       PROTO((void));
    175175int        load_chips         PROTO((char *filename));
    176176int        load_field         PROTO((char *filename));
     
    184184int        parse_GSC_line     PROTO((CatStats *tregion, char *line));
    185185e_time     parse_time         PROTO((Header *header));
    186 void       print_help         PROTO(());
    187 int        project_ref        PROTO(());
     186void       print_help         PROTO((void));
     187int        project_ref        PROTO((void));
    188188int        project_refcat     PROTO((StarData *refcat, int Nrefcat));
    189 int        project_stars      PROTO(());
     189int        project_stars      PROTO((void));
    190190int        rfits              PROTO((Chip *mychip));
    191191int        rtext              PROTO((Chip *mychip));
Note: See TracChangeset for help on using the changeset viewer.