X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Date: Sun, 12 Apr 2009 06:13:47 +0300 From: Eli Zaretskii Subject: Re: mkstemp() declaration In-reply-to: <000501c9baf3$e9fbc3a0$2602a8c0@computername> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp-workers AT delorie DOT com Message-id: <83myamo978.fsf@gnu.org> References: <000501c9baf3$e9fbc3a0$2602a8c0 AT computername> 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 > 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.