Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #71433

Re: who invented static?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: who invented static?
Date Tue, 29 Sep 2015 09:18:34 -0700
Organization None to speak of
Lines 20
Message-ID <ln612t42sl.fsf@kst-u.example.com> (permalink)
References <661ee2d4-d23e-4602-a48b-86c669001de6@googlegroups.com> <4e9adb87-3258-4b90-92b5-f9e89674f504@googlegroups.com> <23d45408-26bc-46a3-8b48-2593b5c29ad4@googlegroups.com> <6036cc6f-2804-45c2-95f4-e19a5fa9399d@googlegroups.com> <55E21F50.2080705@verizon.net> <mrv5f3$g9b$1@dont-email.me> <55E32CBB.2050001@verizon.net> <mrvcnh$fju$1@dont-email.me> <kfnio7nng50.fsf@x-alumni2.alumni.caltech.edu> <msjhi9$2d9$1@dont-email.me> <kfnbnd7iget.fsf@x-alumni2.alumni.caltech.edu> <mt3uoj$9s6$1@dont-email.me> <a1e6f26a-099e-444a-a4d0-3394acc5a462@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="14042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1860pJymT03RZqLx1AIKFx7"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:UAtoOQYAFY0BXOkxAkTdiBg4Qdw= sha1:u/1NW73Zek2BChxE+zj9i+bsMW8=
Xref csiph.com comp.lang.c:71433

Show key headers only | View raw


supercat@casperkitty.com writes:
[...]
> Consider the code:
>
>     int find_nonzero(static int foo[16384])
>     {
[...]
>     }

The correct syntax is:

    int find_nonzero(int foo[static 16384])

[...]

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: who invented static? Tim Rentsch <txr@alumni.caltech.edu> - 2015-09-12 12:30 -0700
  Re: who invented static? David Brown <david.brown@hesbynett.no> - 2015-09-13 15:48 +0200
    Re: who invented static? supercat@casperkitty.com - 2015-09-29 09:04 -0700
      Re: who invented static? Keith Thompson <kst-u@mib.org> - 2015-09-29 09:18 -0700
        Re: who invented static? supercat@casperkitty.com - 2015-09-29 09:57 -0700

csiph-web