| 1 |
– |
/* Copyright (c) 1990 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 |
|
* Translator utilities |
| 6 |
|
* |
| 9 |
|
|
| 10 |
|
#include <stdio.h> |
| 11 |
|
|
| 12 |
+ |
#include <stdlib.h> |
| 13 |
+ |
|
| 14 |
|
#include "trans.h" |
| 15 |
|
|
| 16 |
|
|
| 17 |
|
fgetid(idp, dls, fp) /* read an id up to char in dls from fp */ |
| 18 |
< |
register ID *idp; |
| 18 |
> |
ID *idp; |
| 19 |
|
char *dls; |
| 20 |
< |
FILE *fp; |
| 20 |
> |
register FILE *fp; |
| 21 |
|
{ |
| 22 |
|
char dset[256/8]; |
| 23 |
|
char buf[MAXSTR]; |