X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PAgADhOuxu4x6hkYMlNMaARgn5WGNqf7WG+5w1xYV3E=; b=BoZD52SrDXcLz6gEZXhgl0ye2qgtqOP4IQkznV3ne/tkMZWuq9L7XGIofSaa0y2+L6 g7iDhjowCS8fNoByndonf8lmtuF1bL9al0175Jebqgs3hACSgChZ1CX7AZLcrlEXiR7n X/2PQVu/OgAfFvED1Jj0G5oY6wMPXthXkUCxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Co7EKgk82XdAiMIe75Y6wXPpjJu47W1r5mbmVWVugHJviFEI1iJYhV42sF97n7qL8E BoaS8OwuGOzPPdo2zxJ8TnLtHr2ud6EC8I0QjEsMcj7SOwY0eTHS2bUMRLF8gCKEPuHP bLv6NLk0Mue6xOEfRICkBu5PEUxec8lTqtz+M= MIME-Version: 1.0 In-Reply-To: <83myamo978.fsf@gnu.org> References: <000501c9baf3$e9fbc3a0$2602a8c0 AT computername> <83myamo978 DOT fsf AT gnu DOT org> Date: Sun, 12 Apr 2009 10:13:51 +0300 Message-ID: <647fe9b10904120013s2308e8eavaa5fd33c6898b7cb@mail.gmail.com> Subject: Re: mkstemp() declaration From: Ozkan Sezer To: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, Apr 12, 2009 at 6:13 AM, Eli Zaretskii wrote: >> From: "Juan Manuel Guerrero" >> Date: Sun, 12 Apr 2009 00:21:51 +0200 >> >> According to >> and mkstemp() >> and mktemp() shall be declared stdlib.h and not in stdio.h as they are declared now. >> If the function declarations are in the wrong header section let me know. >> Any objections to apply the patch below. > > No objections to adding them to stdlib.h, but I wouldn't remove the > prototypes from stdio.h, since that is bad for back compatibility. It > does no harm having the declarations in stdio.h as well. > Maybe add a Notes section to the txh files and tell that djgpp <= 2.03 used have the prototype in stdio.h, it is deprecated now and the proto is in stdlib.h for SUS compliance?