Index: trunk/Ohana/src/delstar/include/delstar.h
===================================================================
--- trunk/Ohana/src/delstar/include/delstar.h	(revision 21153)
+++ trunk/Ohana/src/delstar/include/delstar.h	(revision 27435)
@@ -40,9 +40,9 @@
 int        FindDecBand            PROTO((double dec, double *DEC0, double *DEC1));
 FILE      *GetDB                  PROTO((int *state));
-Image     *GetImages              PROTO((int *nimage));
-int        SetImages              PROTO((Image *new, int Nnew));
+Image     *GetImages              PROTO((off_t *nimage));
+int        SetImages              PROTO((Image *new, off_t Nnew));
 void       SetProtect             PROTO((int mode));
 int        SetSignals             PROTO((void));
-int        Shutdown               PROTO((char *format, ...));
+int        Shutdown               PROTO((char *format, ...)) OHANA_FORMAT(printf, 1, 2);
 void       TrapSignal             PROTO((int sig));
 int        args                   PROTO((int *argc, char **argv));
@@ -52,17 +52,17 @@
 void       delete_times           PROTO((FITS_DB *db));
 int        edge_check             PROTO((double *x1, double *y1, double *x2, double *y2));
-int       *find_images_data       PROTO((FITS_DB *db, Image *timage, int *nlist));
-int       *find_images_name       PROTO((FITS_DB *db, char *filename, int *nlist));
-int       *find_images_time       PROTO((FITS_DB *db, time_t start, time_t end, PhotCode *code, int *nlist));
-void       find_matches           PROTO((Catalog *catalog, int photcode, int start, int end));
+off_t     *find_images_data       PROTO((FITS_DB *db, Image *timage, off_t *nlist));
+off_t     *find_images_name       PROTO((FITS_DB *db, char *filename, off_t *nlist));
+off_t     *find_images_time       PROTO((FITS_DB *db, e_time start, e_time end, PhotCode *code, off_t *nlist));
+void       find_matches           PROTO((Catalog *catalog, int photcode, e_time start, e_time end));
 int        gcatalog               PROTO((Catalog *catalog));
 Image     *gimages                PROTO((char *filename));
-Image     *gtimes                 PROTO((int *NIMAGE));
+Image     *gtimes                 PROTO((off_t *NIMAGE));
 void       help                   PROTO((void));
 int        load_image_db          PROTO((FITS_DB *db));
 void       lock_image_db          PROTO((FITS_DB *db, char *filename));
-void       match_images           PROTO((Catalog *catalog, Image *image, int Nimage));
+void       match_images           PROTO((Catalog *catalog, Image *image, off_t Nimage));
 double     opening_angle          PROTO((double x1, double y1, double x2, double y2, double x3, double y3));
-int        parse_time             PROTO((Header *header));
+e_time     parse_time             PROTO((Header *header));
 int        save_image_db          PROTO((void));
 void       sort_lists             PROTO((float *X, float *Y, int *S, int N));
