mike@ists.ists.ca (Mike Clarkson) (02/25/90)
/usr2/local/X.V11R4/contrib/clients/xim
For GNU CC 1.35, it doesn't like the extern within the function.
(Sun OS 3.5, X11R4 PL2).
Mike.
*** xxim.c.dst Fri Nov 10 17:45:28 1989
--- xxim.c Sat Feb 24 21:30:59 1990
***************
*** 56,61 ****
--- 56,62 ----
int debug_flag = False, enhance = 0;
int newmap_flag = False, mono_flag = False, cdither_flag = False;
int pclose(), fclose(), (*closefunc)() = fclose;
+ extern int ditherFactor;
main(argc, argv)
int argc;
***************
*** 80,86 ****
XVisualInfo *visInfo = NULL, *FindVisual();
XColor colors[256], fg_color, bg_color;
Colormap colormap, GetXColormap();
- extern ditherFactor;
progName = argv[0];
for (i=1; i < argc; i++) {
--- 81,86 ----
--
Mike Clarkson mike@ists.ists.ca
Institute for Space and Terrestrial Science uunet!attcan!ists!mike
York University, North York, Ontario, FORTRAN - just say no.
CANADA M3J 1P3 +1 (416) 736-5611