Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: question about linker Date: Tue, 03 Dec 2024 17:14:08 -0800 Organization: A noiseless patient Spider Lines: 9 Message-ID: <86mshcmeqn.fsf@linuxsc.com> References: <87plmfu2ub.fsf@nosuchdomain.example.com> <87frnbt9jn.fsf@nosuchdomain.example.com> <877c8nt255.fsf@nosuchdomain.example.com> <20241129142810.00007920@yahoo.com> <20241129161517.000010b8@yahoo.com> <87mshhsrr0.fsf@nosuchdomain.example.com> <8734j9sj0f.fsf@nosuchdomain.example.com> <87bjxvqcv2.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Wed, 04 Dec 2024 02:14:09 +0100 (CET) Injection-Info: dont-email.me; posting-host="24be5a3bcc5136b6a89c55a2b150290e"; logging-data="477935"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Bb++XRKX872MJqjUC7dLZqqIH2b2vzww=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:aIx12Z1yrtMmm8vbH+EXPbGa31Q= sha1:tntuvldM6k7bgyMMvmSr8LkrG54= Xref: csiph.com comp.lang.c:389331 Keith Thompson writes: > If someone wanted to ensure that all static functions defined in a > translation unit are declared near the top, there could be a separate > tool to generate, or at least check, the declarations. I'm not aware of > any such tool, which suggests there probably isn't much demand for it. What it suggests to me is that there are tools being used that you aren't aware of.