Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 1998 02:44:36 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        des@flood.ping.uio.no, des@FreeBSD.ORG
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libfetch Makefile common.c common.h ftp.c          http.c
Message-ID:  <199812181544.CAA29685@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   Rename fetchConnect to _fetch_connect since it's internal.
>
>though if I understand the standard correctly, all the _fetch_xxx
>should be renamed to either __fetch_xxx or _Fetch_xxx since their
>scope is wider than file scope. Any language lawyers care to comment?

The "should" clause doesn't follow from the "since" clause.
All identifiers that begin with an underscore are reserved for use
as identifiers with file scope.  Therefore, the implementation can
use such identifiers at file scope without restriction.  OTOH, the
implementation can't use such identifiers at non-file scope if such
use could conflict with an application identifier.  This is the only
restriction, and it only prevents use of identifiers starting with
"_[a-z0-9]" in macros that may be used by applications.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812181544.CAA29685>