Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!imagen!atari!portal!cup.portal.com!mhyman From: mhyman@cup.portal.com Newsgroups: comp.lang.c Subject: Re: C declaration styles Message-ID: <4141@cup.portal.com> Date: 26 Mar 88 20:05:14 GMT References: <12637@brl-adm.ARPA> Organization: The Portal System (TM) Lines: 25 XPortal-User-Id: 1.1001.2549 >>>... I have often seen the following: >>> static int foofunction (int, int) >> >>Microsoft C uses the /static/ storage class... > >Well, if Microsoft C does it... Come on now, if that was true `far', >`huge', `mongo', et cetera would be standard. Let's try to be a >little more definitive in our references. I quote from the second edition of C: A Reference Manual, Harbison and Steele SEC. 4.3 page 59 "static This storage class specifier may appear on declarations of functions or variables. On function definitions, it is used only to specify that the function name is *not* to be exported to the linker...." Also see th bottom of page 80 in K&R. --Marc -------------------------------- Marco S. Hyman banglist: ...!sun!portal!cup.portal.com!mhyman domain: mhyman@cup.portal.com