Message-Id: <199908260851.LAA09357@ankara.Foo.COM> From: "S. M. Halloran" Organization: User RFC 822- and 1123-compliant To: DJGPP Group Date: Thu, 26 Aug 1999 12:58:17 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Purpose of y1() in standard library? X-mailer: Pegasus Mail for Win32 (v3.12) Reply-To: djgpp AT delorie DOT com I get warnings in much of my code about my local variable named 'y1' shadowing a global, which is defined the 'math.h'. Naming variables like 'x1', 'y1', 'x2', 'y2' is rather logical for programs that plot pixels and so on, so it would be rather irritating for a global to define itself that way, unless it doesn't really need to be defined as such. The documentation for the standard library shows no use or purpose for this function for those interfacing with it (C:\>info libc y1). Perhaps y1() can be re-named or be made part of the module in which it may be called by only one or two calling functions, and therefore be declared static. Mitch Halloran Research (Bio)chemist Duzen Laboratories Group Ankara TURKEY