Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!hplabs!otter!pdc From: pdc@otter.hple.hp.com (Damian Cugley) Newsgroups: comp.lang.c Subject: Re: Help, I need some(body!) prototyping Message-ID: <1670014@otter.hple.hp.com> Date: 1 Sep 88 19:53:02 GMT References: <154@tekn01.chalmers.se> Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 32 Kristian Wedberg: d85_kitte@tekn01.chalmers.se > [...] I get something TYPES DON'T MATCH something. LONG (*filter)(); `pointer to func giving LONG' || \||/ Delete the identifier ... \/ LONG (* )() || \||/ ... and neaten it up \/ LONG (*)() giving - GLOBAL LONG FileRequester(..., LONG(*)(), ...); (`LONG*()' would be the type of foo in: LONG *(foo()) `func giving pointer to LONG') pdc -- /-------------------\/-------------------------\/------------------------\ | Damian Cugley =@= || pdc@hplb.lb.hp.co.uk || ...!mcvax!ukc!hplb!pdc | | HPLabs Bristol UK || pdc%otter@hplabs.HP.COM || ...!hplabs!otter!pdc | \-------------------/\-------------------------/\------------------------/ (#disclaim 'His feet are the wrong size for his shoes.')