1 |
– |
/* Copyright (c) 1993 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 |
|
* vgaimage.c - driver for VGA board under DOS |
6 |
|
*/ |
7 |
|
|
8 |
+ |
#include <stdio.h> |
9 |
+ |
|
10 |
|
#include "standard.h" |
11 |
|
#include <graph.h> |
12 |
|
#include "color.h" |
72 |
|
|
73 |
|
extern BYTE clrtab[256][3]; /* global color map */ |
74 |
|
|
75 |
< |
extern long ftell(); |
75 |
> |
static gethfunc headline; |
76 |
|
|
77 |
|
|
78 |
|
main(argc, argv) |
81 |
|
{ |
82 |
|
extern char *getenv(), *fixargv0(); |
83 |
|
char *gv; |
85 |
– |
int headline(); |
84 |
|
int i; |
85 |
|
|
86 |
|
progname = argv[0] = fixargv0(argv[0]); |
145 |
|
} |
146 |
|
|
147 |
|
|
148 |
< |
int |
149 |
< |
headline(s) /* get relevant info from header */ |
150 |
< |
char *s; |
148 |
> |
static int |
149 |
> |
headline( /* get relevant info from header */ |
150 |
> |
char *s, |
151 |
> |
void *p |
152 |
> |
) |
153 |
|
{ |
154 |
|
char fmt[32]; |
155 |
|
|