Deutsch English Français Italiano |
<87y111r0so.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.lang.c Subject: Re: question about linker Date: Fri, 29 Nov 2024 17:02:47 -0800 Organization: None to speak of Lines: 17 Message-ID: <87y111r0so.fsf@nosuchdomain.example.com> References: <vi54e9$3ie0o$1@dont-email.me> <viaqh0$nm7q$1@dont-email.me> <877c8nt255.fsf@nosuchdomain.example.com> <viasv4$nm7q$2@dont-email.me> <vibr1l$vvjf$1@dont-email.me> <vic73f$1205f$1@dont-email.me> <20241129142810.00007920@yahoo.com> <vicfra$13nl4$1@dont-email.me> <20241129161517.000010b8@yahoo.com> <vicque$15ium$2@dont-email.me> <vid110$16hte$1@dont-email.me> <87mshhsrr0.fsf@nosuchdomain.example.com> <vidd2a$18k9j$1@dont-email.me> <8734j9sj0f.fsf@nosuchdomain.example.com> <vidnp3$1ovvm$2@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 30 Nov 2024 02:02:48 +0100 (CET) Injection-Info: dont-email.me; posting-host="d28f02e76a6c2d00a69abdf93e7df1d2"; logging-data="1354134"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yCGV1QqcbAjdCwPrS21/i" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:sxlCHQw+ebBpuAfUQpit0WVYBU8= sha1:ao897L2Ehn/s7B1TsQ2SneeLaP0= Bytes: 2071 antispam@fricas.org (Waldek Hebisch) writes: > Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: [...] >> Function declarations outside header files are valid, but tend to be >> rare in well-written C code. > > Hmm, in well-written code static functions are likely to be a > majority. Some people prefer to declare all functions and > put declarations of static functions in the same file as the > functions itself. Conseqently, function declarations are not > rare in such code. Do you consider it well-written? Sure, I missed that case. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */