[GRASS5] PATCH: Remove legacy imagery functions

Here is a revised patch that only removes legacy code from the imagery
library.

The following files can be removed from lib/imagery:
- advance.c
- band_io.c
- percent.c
- tape_info.c
- imagery.hh (this is a duplicate of include/imagedefs.h)

Index: include/imagedefs.h

RCS file: /home/grass/grassrepository/grass6/include/imagedefs.h,v
retrieving revision 2.1
diff -u -u -r2.1 imagedefs.h
--- include/imagedefs.h 17 Nov 2004 15:49:47 -0000 2.1
+++ include/imagedefs.h 30 Mar 2005 20:18:41 -0000
@@ -1,7 +1,5 @@
/* add_cov.c */
double I_add_covariances(int, int, double, double, double, double,
double, double);
-/* advance.c */
-int I_tape_advance(int, int);
/* alloc.c */
void *I_malloc(int);
void *I_realloc(void *, int);
@@ -29,9 +27,6 @@
/* ask_subgrp.c */
int I_ask_subgroup_old(char *, char *, char *);
int I_ask_subgroup_new(char *, char *, char *);
-/* band_io.c */
-int I_open_band_new(int);
-int I_close_band(int, struct Tape_Info *, int);
/* c_assign.c */
int I_cluster_assign(struct Cluster *, int *);
/* c_begin.c */
@@ -134,8 +129,6 @@
/* open.c */
int I_open_group_file_new(char *, char *);
int I_open_group_file_old(char *, char *);
-/* percent.c */
-int I_percent(int, int, int);
/* points.c */
int I_read_control_points(FILE *, struct Control_Points *);
int I_new_control_point(struct Control_Points *, double, double,
double, double, int);
@@ -183,9 +176,6 @@
int I_ask_sigset_file_old(char *, char *, char *, char *);
FILE *I_fopen_sigset_file_new(char *, char *, char *);
FILE *I_fopen_sigset_file_old(char *, char *, char *);
-/* tape_info.c */
-int I_clear_tape_info(struct Tape_Info *);
-int I_edit_tape_info(struct Tape_Info *);
/* target.c */
int I_get_target(char *, char *, char *);
int I_put_target(char *, char *, char *);
Index: include/imagery.h

RCS file: /home/grass/grassrepository/grass6/include/imagery.h,v
retrieving revision 2.0
diff -u -u -r2.0 imagery.h
--- include/imagery.h 9 Nov 2004 13:05:28 -0000 2.0
+++ include/imagery.h 30 Mar 2005 20:18:41 -0000
@@ -24,13 +24,6 @@
     } red, grn, blu;
} ;

-struct Tape_Info
-{
- char title[75];
- char id[2][75];
- char desc[5][75];
-} ;
-
struct Control_Points
{
     int count;

--
Brad Douglas <rez@touchofmadness.com>