[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] xgetdomainname.c should include stdlib.h

From: Jim Meyering
Subject: Re: [Bug-gnulib] xgetdomainname.c should include stdlib.h
Date: Sun, 18 Apr 2004 23:16:40 +0200

Simon Josefsson <address@hidden> wrote:
> Or maybe xalloc.h should include stdlib.h?  It does define a macro
> that uses free; but it is marked as deprecated...
> 2004-04-18  Simon Josefsson  <address@hidden>
>       * xgetdomainname.c: Include stdlib.h, for free.
>  /* Get errno.  */
>  #include <errno.h>
> +
> +/* Get free. */
> +#include <stdlib.h>
>  #include "xalloc.h"

I agree that including stdlib.h is better.
BTW, wouldn't it be better without the `Get ...' comments?
The `Get errno.' one certainly doesn't add anything useful.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]