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 |
|
/* Copyright (c) 1988 Regents of the University of California */ |
5 |
|
|
6 |
|
/* |
10 |
|
*/ |
11 |
|
|
12 |
|
#include <stdio.h> |
13 |
+ |
#include <stdlib.h> |
14 |
|
#include <math.h> |
15 |
|
|
16 |
|
#define MAXSTR 128 /* maximum string or id length */ |
78 |
|
if (name == NULL) |
79 |
|
name = file; |
80 |
|
} |
81 |
< |
for (cp = nambuf; *cp = *name++; cp++) |
81 |
> |
for (cp = nambuf; (*cp = *name++); cp++) |
82 |
|
; |
83 |
|
/* get objects from file */ |
84 |
|
on = 0; |