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 |
|
* scanner.c - program to simulate bi-directional scanner. |
6 |
|
* |
7 |
|
* 6/10/86 |
8 |
|
*/ |
9 |
|
|
10 |
< |
#include "stdio.h" |
10 |
> |
#include <stdio.h> |
11 |
|
|
12 |
< |
#include "ctype.h" |
12 |
> |
#include <stdlib.h> |
13 |
|
|
14 |
< |
#include "signal.h" |
14 |
> |
#include <ctype.h> |
15 |
|
|
16 |
+ |
#include <signal.h> |
17 |
+ |
|
18 |
|
#include "random.h" |
19 |
|
|
20 |
|
|
46 |
|
int argc; |
47 |
|
char *argv[]; |
48 |
|
{ |
50 |
– |
double atof(); |
49 |
|
char *strcat(), *mktemp(); |
50 |
|
int quit(); |
51 |
|
int i; |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
+ |
void |
152 |
|
quit(code) /* unlink temp files and exit */ |
153 |
|
int code; |
154 |
|
{ |