| 15 |
|
#include <X/cursors/bcross_mask.cursor> |
| 16 |
|
|
| 17 |
|
#include <sys/types.h> |
| 18 |
< |
|
| 18 |
> |
#include <string.h> |
| 19 |
|
#include <ctype.h> |
| 20 |
– |
|
| 20 |
|
#include <time.h> |
| 21 |
|
|
| 22 |
|
#include "color.h" |
| 24 |
– |
|
| 23 |
|
#include "resolu.h" |
| 26 |
– |
|
| 24 |
|
#include "xraster.h" |
| 28 |
– |
|
| 25 |
|
#include "view.h" |
| 30 |
– |
|
| 26 |
|
#include "pic.h" |
| 32 |
– |
|
| 27 |
|
#include "random.h" |
| 28 |
|
|
| 29 |
|
#define controlshift(e) (((XButtonEvent *)(e))->detail & (ShiftMask|ControlMask)) |
| 79 |
|
|
| 80 |
|
char errmsg[128]; |
| 81 |
|
|
| 82 |
+ |
static gethfunc headline; |
| 83 |
|
|
| 84 |
+ |
|
| 85 |
|
main(argc, argv) |
| 86 |
|
int argc; |
| 87 |
|
char *argv[]; |
| 88 |
|
{ |
| 89 |
|
extern char *getenv(); |
| 90 |
|
char *gv; |
| 95 |
– |
int headline(); |
| 91 |
|
int i; |
| 92 |
|
|
| 93 |
|
progname = argv[0]; |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
|
| 162 |
< |
int |
| 163 |
< |
headline(s) /* get relevant info from header */ |
| 164 |
< |
char *s; |
| 162 |
> |
static int |
| 163 |
> |
headline( /* get relevant info from header */ |
| 164 |
> |
char *s, |
| 165 |
> |
void *p |
| 166 |
> |
) |
| 167 |
|
{ |
| 168 |
|
char fmt[32]; |
| 169 |
|
|
| 671 |
|
int y; |
| 672 |
|
pixel *l; |
| 673 |
|
{ |
| 674 |
< |
bcopy((char *)l, (char *)ourras->data.bz+BZPixmapSize(xmax,y), BZPixmapSize(xmax,1)); |
| 674 |
> |
memcpy((void *)ourras->data.bz+BZPixmapSize(xmax,y), (void *)l, BZPixmapSize(xmax,1)); |
| 675 |
|
} |
| 676 |
|
|
| 677 |
|
|