Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 486248 | Differences between
and this patch

Collapse All | Expand All

(-)kit.orig/contrib/xwintoppm/dsimple.c (+3 lines)
Lines 48-57 Link Here
48
#endif
48
#endif
49
49
50
extern Bool silent;
50
extern Bool silent;
51
extern void usage();
51
unsigned long Resolve_Color();
52
unsigned long Resolve_Color();
52
Pixmap Bitmap_To_Pixmap();
53
Pixmap Bitmap_To_Pixmap();
53
Window Select_Window();
54
Window Select_Window();
54
void out();
55
void out();
56
void outl();
55
void blip();
57
void blip();
56
Window Window_With_Name();
58
Window Window_With_Name();
57
void Fatal_Error();
59
void Fatal_Error();
Lines 495-500 Link Here
495
 *       printf with up to 7 arguments.
497
 *       printf with up to 7 arguments.
496
 */
498
 */
497
/* VARARGS1 */
499
/* VARARGS1 */
500
void
498
outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6)
501
outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6)
499
     char *msg;
502
     char *msg;
500
     char *arg0, *arg1, *arg2, *arg3, *arg4, *arg5, *arg6;
503
     char *arg0, *arg1, *arg2, *arg3, *arg4, *arg5, *arg6;
(-)kit.orig/contrib/xwintoppm/xwintoppm.c (+10 lines)
Lines 139-144 Link Here
139
extern int (*_XErrorFunction)();
139
extern int (*_XErrorFunction)();
140
extern int _XDefaultError();
140
extern int _XDefaultError();
141
141
142
void usage();
143
void Error(char *);
144
void Window_Dump(Window, FILE *);
145
extern void outl();
146
int Image_Size(XImage *);
147
int Get_XColors(XWindowAttributes *, XColor **);
148
142
static long parse_long (s)
149
static long parse_long (s)
143
    char *s;
150
    char *s;
144
{
151
{
Lines 281-286 Link Here
281
 *              writting.
288
 *              writting.
282
 */
289
 */
283
290
291
void
284
Window_Dump(window, out)
292
Window_Dump(window, out)
285
     Window window;
293
     Window window;
286
     FILE *out;
294
     FILE *out;
Lines 609-614 Link Here
609
/*
617
/*
610
 * Report the syntax for calling xwd.
618
 * Report the syntax for calling xwd.
611
 */
619
 */
620
void
612
usage()
621
usage()
613
{
622
{
614
    fprintf (stderr,
623
    fprintf (stderr,
Lines 623-628 Link Here
623
 * Error - Fatal xwd error.
632
 * Error - Fatal xwd error.
624
 */
633
 */
625
634
635
void
626
Error(string)
636
Error(string)
627
	char *string;	/* Error description string. */
637
	char *string;	/* Error description string. */
628
{
638
{
(-)kit.orig/ctlwords.c (+1 lines)
Lines 24-29 Link Here
24
24
25
#include <stdio.h>
25
#include <stdio.h>
26
#include <string.h>
26
#include <string.h>
27
#include <stdlib.h>
27
28
28
main(int argc, char *argv[])
29
main(int argc, char *argv[])
29
{
30
{
(-)kit.orig/draw.c (+2 lines)
Lines 140-145 Link Here
140
static void get_background_pixmap __P((struct ctrl *, struct render_state *));
140
static void get_background_pixmap __P((struct ctrl *, struct render_state *));
141
static void regist_background_pixmap __P((XImageInfo *, Image *));
141
static void regist_background_pixmap __P((XImageInfo *, Image *));
142
#ifdef MNG
142
#ifdef MNG
143
void mngload(char *, int, int, int, int);
144
void mngpreload(struct render_state *, char *, int *, int *);
143
static void process_anim __P((struct render_state *, struct ctrl *));
145
static void process_anim __P((struct render_state *, struct ctrl *));
144
static void obj_draw_anim __P((struct render_state *, 
146
static void obj_draw_anim __P((struct render_state *, 
145
	u_int, u_int, struct render_object *));
147
	u_int, u_int, struct render_object *));
(-)kit.orig/image/image.h (+1 lines)
Lines 10-15 Link Here
10
10
11
#include "copyright.h"
11
#include "copyright.h"
12
#include <stdio.h>
12
#include <stdio.h>
13
#include <stdlib.h>
13
14
14
#if defined(SYSV) || defined(VMS) || 1
15
#if defined(SYSV) || defined(VMS) || 1
15
#include <string.h>
16
#include <string.h>
(-)kit.orig/image/window.c (-5 / +2 lines)
Lines 16-23 Link Here
16
#include <signal.h>
16
#include <signal.h>
17
#include <errno.h>
17
#include <errno.h>
18
#include <sys/types.h>
18
#include <sys/types.h>
19
#ifdef SYSV
19
#ifdef HAVE_UNISTD_H
20
#include <unistd.h>
20
# include <unistd.h>
21
#endif
21
#endif
22
#if TIME_WITH_SYS_TIME
22
#if TIME_WITH_SYS_TIME
23
# include <sys/time.h>
23
# include <sys/time.h>
Lines 32-40 Link Here
32
#if HAVE_SYS_SELECT_H
32
#if HAVE_SYS_SELECT_H
33
# include <sys/select.h>
33
# include <sys/select.h>
34
#endif
34
#endif
35
#ifdef __APPLE__
36
#include <unistd.h>
37
#endif
38
35
39
/* SUPPRESS 560 */
36
/* SUPPRESS 560 */
40
37
(-)kit.orig/mgp.h (+3 lines)
Lines 831-836 Link Here
831
#ifndef HAVE_USLEEP
831
#ifndef HAVE_USLEEP
832
extern void usleep __P((u_int));
832
extern void usleep __P((u_int));
833
#endif
833
#endif
834
#ifndef HAVE_STRLCPY
835
extern size_t strlcpy __P((char *, const char *, size_t));
836
#endif
834
837
835
#ifdef FREETYPE
838
#ifdef FREETYPE
836
#define RASTERLIB
839
#define RASTERLIB

Return to bug 486248