Path: utzoo!attcan!uunet!husc6!mailrus!bcm!uhnix2!uhnix1!sugar!ficc!peter From: peter@ficc.UUCP (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: anonymous functions Summary: Another wedge for the syntax. Message-ID: <799@.UUCP> Date: 19 May 88 14:26:16 GMT References: <5773@sigi.Colorado.EDU> <11325@mimsy.UUCP> <282@teletron.UUCP> <862@xyzzy.UUCP> Organization: SCADA Lines: 14 In article <862@xyzzy.UUCP>, throopw@xyzzy.UUCP writes: > signal( SIGINT, void (int sig){ interrupted = 1; } ); Of course if you went with this syntax instead of the typecast syntax, there's no good reason to disallow: signal ( SIGINT, void (sig) int sig; { interrupted = 1; } ); After all, pre-ANSI declarations are still allowed. I'd hate to have to write the compiler, though. -- -- Peter da Silva, Ferranti International Controls Corporation. -- Phone: 713-274-5180. Remote UUCP: uunet!nuchat!sugar!peter.