[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdlib tweak
From: |
Jim Meyering |
Subject: |
Re: stdlib tweak |
Date: |
Tue, 22 Dec 2009 11:27:04 +0100 |
Eric Blake wrote:
> +static int (*check) (char const *, int, char const *) = symlinkat;
> +
> #include <fcntl.h>
> #include <errno.h>
> #include <stdbool.h>
>
> in order to validate that a function is correctly declared when the user
> includes just the one header named in the standards. We can then fix the
> fallout by making the *.in.h headers pull in the necessary pre-requisites for
> functions that declared in the wrong system header. Any objections?
Good idea.
You might want to use a name less likely than "check"
to impinge on the name space of the test program.
- stdlib tweak, Eric Blake, 2009/12/21
- Re: stdlib tweak, Eric Blake, 2009/12/21
- Re: stdlib tweak, Eric Blake, 2009/12/21
- Re: stdlib tweak,
Jim Meyering <=
- Re: stdlib tweak, Eric Blake, 2009/12/22
- Re: stdlib tweak, Jim Meyering, 2009/12/22
- Re: stdlib tweak, Eric Blake, 2009/12/22
- Re: stdlib tweak, Jim Meyering, 2009/12/23
- Re: stdlib tweak, Bruno Haible, 2009/12/23
- Re: stdlib tweak, Eric Blake, 2009/12/23
- Re: ASSERT and _GL_UNUSED macros, Bruno Haible, 2009/12/23
- Re: ASSERT and _GL_UNUSED macros, Eric Blake, 2009/12/23
- Re: ASSERT macro, Bruno Haible, 2009/12/23
- Re: _GL_UNUSED macro, Bruno Haible, 2009/12/23