🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20423

Re: LSC Bug?

#20423
From: Richard Siegel
Date: Fri, 16 Oct 1987 19:49
27 lines
1484 bytes
In article <1018@oakhill.UUCP> jayn@oakhill.UUCP (Jay Norwood) writes:
>Is there any good reason why LSC doesn't accept static function
>declarations at the start of a module?
>For example:
>static my_func();


	This is a prototype, and you can't declare prototypes as "static". 
We've heard a lot about this, but I don't know Mike's plans for it.

If you want to prototype a static function, try this:

long myfunc(int arg1, char *arg2);	/* the prototype */

static long myfunc(arg1, arg2)		/* the static function itself */
int arg1;
char *arg2;


		--Rich

**The opinions stated herein are my own opinions and do not necessarily
represent the policies or opinions of my employer (THINK Technologies, Inc).

* Richard M. Siegel | {decvax, ucbvax, sun}!harvard!endor!singer    *
* Customer Support  | singer@endor.harvard.edu			    *
* THINK Technologies, Inc.  (No snappy quote)                       *
Technical Details
Message-ID: <3006@husc6.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singer
References: <1018@oakhill.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singer
From: singer@endor.harvard.edu (Richard Siegel)
Newsgroups: comp.sys.mac
Subject: Re: LSC Bug?
Message-ID: <3006@husc6.UUCP>
Date: Fri, 16-Oct-87 15:49:37 EDT
Article-I.D.: husc6.3006
Posted: Fri Oct 16 15:49:37 1987
Date-Received: Sat, 17-Oct-87 23:00:52 EDT
References: <1018@oakhill.UUCP>
Sender: news@husc6.UUCP
Reply-To: singer@endor.UUCP (Richard Siegel)
Organization: THINK Technologies, Inc., Bedford, MA
Lines: 27
Keywords: LSC