Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!husc6!cmcl2!brl-adm!adm!TLIMONCE%DREW.BITNET@CUNYVM.CUNY.EDU From: TLIMONCE%DREW.BITNET@CUNYVM.CUNY.EDU Newsgroups: comp.lang.c Subject: Generic Pointers in non-ANSI C Message-ID: <11984@brl-adm.ARPA> Date: 25 Feb 88 03:21:56 GMT Sender: news@brl-adm.ARPA Lines: 21 A notation that I see in many books is #if COMPILER_HAS_VOID typedef void VOID #else typedef char *VOID #endif (God I hope I got that right) This allows you to use VOID as a (char *) until all the compilers you port to have void. My old source code uses VOID. Now that all my compilers have a real "void" I am slowly getting into the habit of not holding the SHIFT key as I type "void". You could estimate the date of a source file by monitoring the % of VOIDs verses voids. :-) Tom Limoncelli | Drew U/Box 1060/Madison NJ 07940 | tlimonce@drew.BITNET Disclaimer: These are my views, not my employer or Drew Univesity --------------------------------------------------------------------------