1 |
– |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* contour.c - program to make contour plots, mappings from 3 to |
6 |
|
* 2 dimenstions. |
8 |
|
* 8/22/86 |
9 |
|
*/ |
10 |
|
|
11 |
< |
#include "stdio.h" |
11 |
> |
#include <stdio.h> |
12 |
|
|
13 |
< |
#include "ctype.h" |
13 |
> |
#include <stdlib.h> |
14 |
|
|
15 |
+ |
#include <ctype.h> |
16 |
+ |
|
17 |
|
#define MAXPTS 2048 /* maximum number of input points */ |
18 |
|
|
19 |
|
typedef float DATAPT[3]; |
33 |
|
int argc; |
34 |
|
char *argv[]; |
35 |
|
{ |
37 |
– |
extern double atof(); |
36 |
|
extern int xycmp(); |
37 |
|
FILE *fp; |
38 |
|
int i; |