🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37340

contrib/clients/xim patch for GCC 1.35

#37340
From: Mike Clarkson
Date: Sun, 25 Feb 1990 02:38
34 lines
1385 bytes
/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
Technical Details
Message-ID: <5518@ists.ists.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!helios.physics.utoronto.ca!ists!mike

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!helios.physics.utoronto.ca!ists!mike
From: mike@ists.ists.ca (Mike Clarkson)
Newsgroups: comp.windows.x
Subject: contrib/clients/xim patch for GCC 1.35
Message-ID: <5518@ists.ists.ca>
Date: 25 Feb 90 02:38:30 GMT
Reply-To: mike@ists.ists.ca.ists.ca (Mike Clarkson)
Organization: Institute for Space and Terrestrial Science
Lines: 34