This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: local.h in scanf.c
- From: Doug Evans <dje at transmeta dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>
- Cc: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>, newlib at sources dot redhat dot com
- Date: Wed, 19 Nov 2003 10:16:04 -0800 (PST)
- Subject: Re: local.h in scanf.c
- References: <3FBB6F80.10606@yandex.ru><3FBBA210.4060107@redhat.com>
J. Johnston writes:
> local.h is just a local header file that is not externalized. It is also not
> meant to be included multiple times. The C header files available to the
> end-user have to be protected from multiple inclusion as some header files
> include others and the end-user is not restricted from including them multiple
> times. This is not the case for local.h.
That doesn't mean that one can't still protect local.h from multiple inclusion.
Whether it is internal or external is irrelevant to the discussion.