git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38020 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -1,6 +1,5 @@
#include <string.h>
#include <grass/gis.h>
-#include <grass/raster.h>
#include <grass/glocale.h>
#include "local_proto.h"
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <grass/display.h>
#include <grass/gprojects.h>
@@ -2,7 +2,6 @@
#include <math.h>
int plot_border(double grid_size, double east, double north)
@@ -1,7 +1,6 @@
char percent[] = "%";
@@ -3,7 +3,6 @@
@@ -19,7 +19,6 @@
#include <unistd.h>
#include <grass/Vect.h>
#include <grass/colors.h>
@@ -4,7 +4,6 @@
@@ -1,5 +1,4 @@
#include "options.h"
void fancy(struct Cell_head *window, struct Categories *cats, FILE * fp)
#include <grass/dbmi.h>
/* Print z coordinate value for each node */
char *wc2regex(const char *wc)
{
#include <projects.h>
int main(int argc, char *argv[])
#include <grass/gmath.h>
#include "global.h"
#include <grass/imagery.h>
#include <grass/cluster.h>
#include <stdio.h>
double *vector(int nl, int nh)
int can_invert(double **a, int n)
double **matrix(), *vector();
#include "parms.h"
int invert(
*****************************************************************************/
#include "files.h"
@@ -17,7 +17,6 @@ ASSUMPTION:
each band is processed and written out. CWU GIS Lab: DBS 8/90 */
#include "globals.h"
void his2rgb(CELL * rowbuffer[3], int columns)
@@ -32,7 +32,6 @@
#include <limits.h>
/*
#define MSDOS 1
void rgb2his(CELL * rowbuffer[3], int columns)
#include "bouman.h"
#include "region.h"
#include <stdarg.h>
@@ -16,7 +16,6 @@
double distance(double east, double west)
@@ -8,7 +8,6 @@
@@ -6,7 +6,6 @@
#include "ps_info.h"
@@ -5,7 +5,6 @@
#include <grass/symbol.h>
#include "clr.h"
*/
extern FILE *tracefd;
int get_font(char *data)
#include "group.h"
@@ -20,7 +20,6 @@
* count will be negative if list is not valid
********************************************************/
int parse_val_list(char *buf, DCELL ** list)
/* Font sizes */
#define PS_FONT_MAX_SIZE 50
#include "labels.h"
@@ -13,7 +13,6 @@
#include "paper.h"
int scan_gis(char *element, char *desc, char *key, char *data,
static char cur[2000];
#include "vector.h"
#define LENGTH(DX, DY) ( sqrt( (DX*DX)+(DY*DY) ) )
@@ -23,8 +23,6 @@
#define __DISTANCE_H__
struct Distance
****************************************************************************/
#include "distance.h"
int init_grass(void)
@@ -22,7 +22,6 @@
#include <grass/bitmap.h>
#include "enforce.h"
@@ -20,8 +20,6 @@
#define __COIN_H__
struct stats_table
#define __LOCAL_PROTO_H__
/* stats.c */
int get_stats(const char *, const char *, struct Cell_stats *);
@@ -38,7 +38,6 @@
#include "memory.h"
@@ -26,7 +26,6 @@
#include <errno.h>
#define NUM_IN_BLOCK 1024*8
#define __R_CROSS_GLOB_H__
#define NFILES 30 /* maximum number of layers */
#define SHIFT 6 /* 2^SHIFT cats per node */
@@ -17,7 +17,6 @@
***************************************************************************/
#define INCR 10
#define __R_DIST_DEFS_H__
struct EdgeList /* keep track of edge cells */
#include "defs.h"
void parse(int argc, char *argv[], struct Parms *parms)
#include "r.flow.h"
* aspect_fly: calculates aspect on the fly based on elevation map in z
/********************************* I/O **********************************/
/************************** MEMORY MANAGEMENT ***************************/
#define KB 1024
#define MB (KB * KB)
#define SEGSINMEM 9
#include <grass/segment.h>
int check_ready(void);
int adjcellhd(struct Cell_head *cellhd);
struct Cell_head cellhd;
#include "format.h"
int getformat(FILE * fd)
#define BUFFSIZE 256
#include "kappa.h"
struct _gstats_