10 |
|
#include <stdio.h> |
11 |
|
#include <math.h> |
12 |
|
#include <time.h> |
13 |
+ |
#include <string.h> |
14 |
|
|
15 |
|
#include "copyright.h" |
16 |
|
|
17 |
|
#include "platform.h" |
18 |
+ |
#include "rtprocess.h" |
19 |
|
#include "color.h" |
20 |
|
#include "resolu.h" |
21 |
|
|
61 |
|
FILE *lblopen(); |
62 |
|
void quit(); |
63 |
|
|
64 |
+ |
static gethfunc tabputs; |
65 |
|
|
66 |
< |
tabputs(s) /* print line preceded by a tab */ |
67 |
< |
char *s; |
66 |
> |
|
67 |
> |
static int |
68 |
> |
tabputs( /* print line preceded by a tab */ |
69 |
> |
char *s, |
70 |
> |
void *p |
71 |
> |
) |
72 |
|
{ |
73 |
|
char fmt[32]; |
74 |
|
|
387 |
|
|
388 |
|
j = 4; /* check exponents first! */ |
389 |
|
while (j--) |
390 |
< |
if (i = c1[j] - c2[j]) |
390 |
> |
if ( (i = c1[j] - c2[j]) ) |
391 |
|
return(i); |
392 |
|
return(0); |
393 |
|
} |
398 |
|
char *s; |
399 |
|
int *xp, *yp; |
400 |
|
{ |
401 |
< |
char com[128]; |
401 |
> |
char com[PATH_MAX]; |
402 |
|
FILE *fp; |
403 |
|
|
404 |
|
sprintf(com, "psign -s -.15 -a 2 -x %d -y %d '%.90s'", *xp, *yp, s); |